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 {