diff options
Diffstat (limited to 'queen/queen.h')
-rw-r--r-- | queen/queen.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/queen/queen.h b/queen/queen.h index 7912f151ae..3ca77b9eaa 100644 --- a/queen/queen.h +++ b/queen/queen.h @@ -44,12 +44,20 @@ FORCEINLINE int16 READ_BE_INT16(const void *ptr) { namespace Queen { +#if !defined(__GNUC__) + #pragma START_PACK_STRUCTS +#endif + struct GameStateHeader { uint32 version; uint32 flags; uint32 dataSize; char description[32]; -}; +} GCC_PACK; + +#if !defined(__GNUC__) + #pragma END_PACK_STRUCTS +#endif class BamScene; class BankManager; |