diff options
author | Filippos Karapetis | 2011-11-17 10:07:33 +0200 |
---|---|---|
committer | Filippos Karapetis | 2011-11-17 10:07:33 +0200 |
commit | 302e49f97dd761443922793fa8c85190ea7ac0e7 (patch) | |
tree | 59871bf99234910fd4dbbb8e0f625b103274c77b /engines | |
parent | 981b1cdd76cd5a6e2a452a8da0e1555c59f3c5e6 (diff) | |
download | scummvm-rg350-302e49f97dd761443922793fa8c85190ea7ac0e7.tar.gz scummvm-rg350-302e49f97dd761443922793fa8c85190ea7ac0e7.tar.bz2 scummvm-rg350-302e49f97dd761443922793fa8c85190ea7ac0e7.zip |
DREAMWEB: Use struct packing for the UseListEntry struct
Diffstat (limited to 'engines')
-rw-r--r-- | engines/dreamweb/use.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/dreamweb/use.cpp b/engines/dreamweb/use.cpp index d6648b556e..cdc3740d6f 100644 --- a/engines/dreamweb/use.cpp +++ b/engines/dreamweb/use.cpp @@ -27,11 +27,15 @@ namespace DreamGen { typedef void (DreamGenContext::*UseCallback)(void); +#include "common/pack-start.h" // START STRUCT PACKING + struct UseListEntry { uint8 id[5]; // 0-terminal because it is easier syntatically to initialize the array UseCallback callback; }; +#include "common/pack-end.h" // END STRUCT PACKING + void DreamGenContext::useroutine() { static const UseListEntry kUseList[] = { |