aboutsummaryrefslogtreecommitdiff
path: root/sword2
diff options
context:
space:
mode:
authorOliver Kiehl2003-09-13 17:36:39 +0000
committerOliver Kiehl2003-09-13 17:36:39 +0000
commit51703e1014b8d72aa2469819a8c483870a3a503a (patch)
tree7abc39fb343733dcc551f5a1dc55d38834b6ff9d /sword2
parent5aa69da8efc79fcd5252811de17b62957a9bab5d (diff)
downloadscummvm-rg350-51703e1014b8d72aa2469819a8c483870a3a503a.tar.gz
scummvm-rg350-51703e1014b8d72aa2469819a8c483870a3a503a.tar.bz2
scummvm-rg350-51703e1014b8d72aa2469819a8c483870a3a503a.zip
pack _parallax to be on the safe side
svn-id: r10234
Diffstat (limited to 'sword2')
-rw-r--r--sword2/driver/driver96.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/sword2/driver/driver96.h b/sword2/driver/driver96.h
index ca09594790..2479142d2f 100644
--- a/sword2/driver/driver96.h
+++ b/sword2/driver/driver96.h
@@ -1231,6 +1231,10 @@ typedef int BOOL;
// ---------------------
//
+#if !defined(__GNUC__)
+ #pragma START_PACK_STRUCTS
+#endif
+
typedef struct
{
uint16 buttons;
@@ -1241,7 +1245,7 @@ typedef struct
uint16 w;
uint16 h;
uint32 offset[2]; // 2 is arbitrary
-} _parallax;
+} GCC_PACK _parallax;
// The _spriteInfo structure is used to tell the driver96 code what attributes
// are linked to a sprite for drawing. These include position, scaling and
@@ -1367,6 +1371,11 @@ typedef struct {
uint32 dwAvailVirtual;
} GCC_PACK SVM_MEMORYSTATUS;
+#if !defined(__GNUC__)
+ #pragma END_PACK_STRUCTS
+#endif
+
+
//
// Function Prototypes
// -------------------