From 675b482ec4852b873590fb999d24b426bade2b3a Mon Sep 17 00:00:00 2001 From: Hyper <34012267+hyperbx@users.noreply.github.com> Date: Tue, 26 Nov 2024 06:41:47 +0000 Subject: [PATCH] xdbf: use pragma push/pop --- PowerUtils/xdbf.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/PowerUtils/xdbf.h b/PowerUtils/xdbf.h index f3fa1a3..347ac2c 100644 --- a/PowerUtils/xdbf.h +++ b/PowerUtils/xdbf.h @@ -29,7 +29,7 @@ enum EXDBFNamespace : uint16_t XDBF_GPD_NAMESPACE_AVATAR_AWARD_360 = 6 }; -#pragma pack(1) +#pragma pack(push, 1) struct XDBFEntry { be NamespaceID; @@ -37,7 +37,7 @@ struct XDBFEntry be Offset; be Length; }; -#pragma pack() +#pragma pack(pop) struct XDBFFreeSpaceEntry { @@ -71,7 +71,7 @@ struct XSTCHeader be Language; }; -#pragma pack(1) +#pragma pack(push, 1) struct XSTRHeader { be Signature; @@ -79,7 +79,7 @@ struct XSTRHeader be Size; be StringCount; }; -#pragma pack() +#pragma pack(pop) struct XSTREntry { @@ -87,7 +87,7 @@ struct XSTREntry be Length; }; -#pragma pack(1) +#pragma pack(push, 1) struct XACHHeader { be Signature; @@ -95,7 +95,7 @@ struct XACHHeader be Size; be AchievementCount; }; -#pragma pack() +#pragma pack(pop) enum EXACHFlags : uint32_t { @@ -164,7 +164,7 @@ struct XTHDHeader char pad0[0x10]; }; -#pragma pack(1) +#pragma pack(push, 1) struct XGAAHeader { be Signature; @@ -172,7 +172,7 @@ struct XGAAHeader be Size; be Count; }; -#pragma pack() +#pragma pack(pop) struct XGAAEntry {