aboutsummaryrefslogtreecommitdiff
path: root/gfx.h
diff options
context:
space:
mode:
Diffstat (limited to 'gfx.h')
-rw-r--r--gfx.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/gfx.h b/gfx.h
index 20d6505d01..beb7f2925a 100644
--- a/gfx.h
+++ b/gfx.h
@@ -82,11 +82,19 @@ struct BlastObject { /* BlastObjects to draw */
uint16 mode;
};
+#if !defined(__GNUC__)
+ #pragma START_PACK_STRUCTS
+#endif
+
struct BompHeader { /* Bomp header */
uint16 unk;
uint16 width,height;
} GCC_PACK;
+#if !defined(__GNUC__)
+ #pragma END_PACK_STRUCTS
+#endif
+
struct BompDrawData { /* Bomp graphics data */
byte *out;
int outwidth, outheight;