aboutsummaryrefslogtreecommitdiff
path: root/simon/vga.h
diff options
context:
space:
mode:
authorMax Horn2005-04-23 14:00:51 +0000
committerMax Horn2005-04-23 14:00:51 +0000
commit5626581da84280b9247b99be097b2c807546b24f (patch)
tree06b836ba83ec6c4d360676a6eda78f017cd434cb /simon/vga.h
parent8fddaada1dd6dad2302eb153892257d2020883fc (diff)
downloadscummvm-rg350-5626581da84280b9247b99be097b2c807546b24f.tar.gz
scummvm-rg350-5626581da84280b9247b99be097b2c807546b24f.tar.bz2
scummvm-rg350-5626581da84280b9247b99be097b2c807546b24f.zip
These structs must be packed
svn-id: r17770
Diffstat (limited to 'simon/vga.h')
-rw-r--r--simon/vga.h17
1 files changed, 13 insertions, 4 deletions
diff --git a/simon/vga.h b/simon/vga.h
index 5a4c76181d..ad5095ffd6 100644
--- a/simon/vga.h
+++ b/simon/vga.h
@@ -24,11 +24,15 @@
namespace Simon {
+#if !defined(__GNUC__)
+ #pragma START_PACK_STRUCTS
+#endif
+
struct VgaFile1Header {
uint16 x_1, x_2;
uint16 hdr2_start;
uint16 x_3, x_4;
-};
+} GCC_PACK;
struct VgaFile1Header2 {
uint16 x_1;
@@ -40,20 +44,25 @@ struct VgaFile1Header2 {
uint16 x_4;
uint16 id_table;
uint16 x_5;
-};
+} GCC_PACK;
struct VgaFile1Struct0x8 {
uint16 id;
uint16 x_1;
uint16 x_2;
uint16 script_offs;
-};
+} GCC_PACK;
struct VgaFile1Struct0x6 {
uint16 id;
uint16 x_2;
uint16 script_offs;
-};
+} GCC_PACK;
+
+
+#if !defined(__GNUC__)
+ #pragma END_PACK_STRUCTS
+#endif
struct VC10_state {
int image;