[Scummvm-cvs-logs] CVS: scummvm/bs2/driver driver96.h,1.32,1.33

Oliver Kiehl olki at users.sourceforge.net
Sat Sep 13 10:37:07 CEST 2003


Update of /cvsroot/scummvm/scummvm/bs2/driver
In directory sc8-pr-cvs1:/tmp/cvs-serv10614/driver

Modified Files:
	driver96.h 
Log Message:
pack _parallax to be on the safe side


Index: driver96.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/bs2/driver/driver96.h,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -d -r1.32 -r1.33
--- driver96.h	13 Sep 2003 01:59:11 -0000	1.32
+++ driver96.h	13 Sep 2003 17:36:39 -0000	1.33
@@ -1231,6 +1231,10 @@
 //	---------------------
 //
 
+#if !defined(__GNUC__)
+	#pragma START_PACK_STRUCTS
+#endif
+
 typedef struct
 {
 	uint16 buttons;
@@ -1241,7 +1245,7 @@
 	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
@@ -1366,6 +1370,11 @@
     uint32 dwTotalVirtual;
     uint32 dwAvailVirtual;
 } GCC_PACK SVM_MEMORYSTATUS;
+
+#if !defined(__GNUC__)
+	#pragma END_PACK_STRUCTS
+#endif
+
 
 //
 //	Function Prototypes





More information about the Scummvm-git-logs mailing list