[Scummvm-cvs-logs] CVS: scummvm/backends/midi/mt32 structures.h,1.5,1.6

Max Horn fingolfin at users.sourceforge.net
Sun Nov 7 10:29:32 CET 2004


Update of /cvsroot/scummvm/scummvm/backends/midi/mt32
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21570

Modified Files:
	structures.h 
Log Message:
Re-apply endian fix

Index: structures.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/backends/midi/mt32/structures.h,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- structures.h	6 Nov 2004 01:41:30 -0000	1.5
+++ structures.h	7 Nov 2004 18:25:32 -0000	1.6
@@ -208,8 +208,13 @@
 union soundaddr {
 	Bit32u pcmabs;
 	struct offsets {
+#if defined(SCUMM_LITTLE_ENDIAN)
 		Bit16u pcmoffset;
 		Bit16u pcmplace;
+#else
+		Bit16u pcmplace;
+		Bit16u pcmoffset;
+#endif
 	} pcmoffs;
 };
 





More information about the Scummvm-git-logs mailing list