[Scummvm-cvs-logs] CVS: scummvm/simon simon.cpp,1.60,1.61

Oliver Kiehl olki at users.sourceforge.net
Fri Nov 8 05:26:03 CET 2002


Update of /cvsroot/scummvm/scummvm/simon
In directory usw-pr-cvs1:/tmp/cvs-serv24501

Modified Files:
	simon.cpp 
Log Message:
big endian fix


Index: simon.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/simon/simon.cpp,v
retrieving revision 1.60
retrieving revision 1.61
diff -u -d -r1.60 -r1.61
--- simon.cpp	8 Nov 2002 02:15:11 -0000	1.60
+++ simon.cpp	8 Nov 2002 13:25:27 -0000	1.61
@@ -3329,6 +3329,13 @@
 			_effects_offsets[i] += offs;
 		}
 	}
+#if defined(SCUMM_BIG_ENDIAN)
+	uint r;
+	if (_effects_offsets) {
+		for (r = 0; r < gss->NUM_EFFECTS_RESOURCES; r++)
+			_effects_offsets[r] = READ_LE_UINT32(&_effects_offsets[r]);
+	}
+#endif
 }
 
 void SimonState::video_putchar(FillOrCopyStruct *fcs, byte c)





More information about the Scummvm-git-logs mailing list