mirror of
				https://github.com/hedge-dev/XenonRecomp.git
				synced 2025-11-04 06:47:09 +00:00 
			
		
		
		
	xdbf: use pragma push/pop
This commit is contained in:
		@@ -29,7 +29,7 @@ enum EXDBFNamespace : uint16_t
 | 
				
			|||||||
    XDBF_GPD_NAMESPACE_AVATAR_AWARD_360 = 6
 | 
					    XDBF_GPD_NAMESPACE_AVATAR_AWARD_360 = 6
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#pragma pack(1)
 | 
					#pragma pack(push, 1)
 | 
				
			||||||
struct XDBFEntry
 | 
					struct XDBFEntry
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
    be<EXDBFNamespace> NamespaceID;
 | 
					    be<EXDBFNamespace> NamespaceID;
 | 
				
			||||||
@@ -37,7 +37,7 @@ struct XDBFEntry
 | 
				
			|||||||
    be<uint32_t> Offset;
 | 
					    be<uint32_t> Offset;
 | 
				
			||||||
    be<uint32_t> Length;
 | 
					    be<uint32_t> Length;
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
#pragma pack()
 | 
					#pragma pack(pop)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
struct XDBFFreeSpaceEntry
 | 
					struct XDBFFreeSpaceEntry
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
@@ -71,7 +71,7 @@ struct XSTCHeader
 | 
				
			|||||||
    be<EXDBFLanguage> Language;
 | 
					    be<EXDBFLanguage> Language;
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#pragma pack(1)
 | 
					#pragma pack(push, 1)
 | 
				
			||||||
struct XSTRHeader
 | 
					struct XSTRHeader
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
    be<uint32_t> Signature;
 | 
					    be<uint32_t> Signature;
 | 
				
			||||||
@@ -79,7 +79,7 @@ struct XSTRHeader
 | 
				
			|||||||
    be<uint32_t> Size;
 | 
					    be<uint32_t> Size;
 | 
				
			||||||
    be<uint16_t> StringCount;
 | 
					    be<uint16_t> StringCount;
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
#pragma pack()
 | 
					#pragma pack(pop)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
struct XSTREntry
 | 
					struct XSTREntry
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
@@ -87,7 +87,7 @@ struct XSTREntry
 | 
				
			|||||||
    be<uint16_t> Length;
 | 
					    be<uint16_t> Length;
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#pragma pack(1)
 | 
					#pragma pack(push, 1)
 | 
				
			||||||
struct XACHHeader
 | 
					struct XACHHeader
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
    be<uint32_t> Signature;
 | 
					    be<uint32_t> Signature;
 | 
				
			||||||
@@ -95,7 +95,7 @@ struct XACHHeader
 | 
				
			|||||||
    be<uint32_t> Size;
 | 
					    be<uint32_t> Size;
 | 
				
			||||||
    be<uint16_t> AchievementCount;
 | 
					    be<uint16_t> AchievementCount;
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
#pragma pack()
 | 
					#pragma pack(pop)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
enum EXACHFlags : uint32_t
 | 
					enum EXACHFlags : uint32_t
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
@@ -164,7 +164,7 @@ struct XTHDHeader
 | 
				
			|||||||
    char pad0[0x10];
 | 
					    char pad0[0x10];
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#pragma pack(1)
 | 
					#pragma pack(push, 1)
 | 
				
			||||||
struct XGAAHeader
 | 
					struct XGAAHeader
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
    be<uint32_t> Signature;
 | 
					    be<uint32_t> Signature;
 | 
				
			||||||
@@ -172,7 +172,7 @@ struct XGAAHeader
 | 
				
			|||||||
    be<uint32_t> Size;
 | 
					    be<uint32_t> Size;
 | 
				
			||||||
    be<uint16_t> Count;
 | 
					    be<uint16_t> Count;
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
#pragma pack()
 | 
					#pragma pack(pop)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
struct XGAAEntry
 | 
					struct XGAAEntry
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user