[Scummvm-cvs-logs] CVS: scummvm/simon vga.h,1.7,1.8

Max Horn fingolfin at users.sourceforge.net
Sat Apr 23 07:01:14 CEST 2005


Update of /cvsroot/scummvm/scummvm/simon
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11990

Modified Files:
	vga.h 
Log Message:
These structs must be packed

Index: vga.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/simon/vga.h,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- vga.h	1 Jan 2005 16:09:20 -0000	1.7
+++ vga.h	23 Apr 2005 14:00:51 -0000	1.8
@@ -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 @@
 	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;





More information about the Scummvm-git-logs mailing list