(svn r3661) -Fix [PPC computers] quick dirty fix for failure to start the game on BE CPUs
authorbjarni
Thu, 23 Feb 2006 18:52:13 +0000
changeset 3072 d1e6aa66a450
parent 3071 6f3417a859d4
child 3073 3b0cbae12231
(svn r3661) -Fix [PPC computers] quick dirty fix for failure to start the game on BE CPUs
3626 broke the game on Big endian CPUs and this is a quick dirty fix
so the nightly builds for OSX and MorphOS will work again
the game will still fail on 64 bit BE CPUs
note: the game runs in 32 bit mode on G5, so it will work on G5
we need to make a better fix for this, but we also need the nightly builds to work
saveload.h
--- a/saveload.h	Thu Feb 23 12:24:19 2006 +0000
+++ b/saveload.h	Thu Feb 23 18:52:13 2006 +0000
@@ -136,7 +136,7 @@
 };
 
 typedef byte SaveLoadType;
-typedef uint16 OffSetType;
+typedef uint32 OffSetType;
 
 /** SaveLoad type struct. Do NOT use this directly but use the SLE_ macros defined just below! */
 typedef struct SaveLoad {