[Scummvm-cvs-logs] SF.net SVN: scummvm:[35749] scummvm/trunk/engines/saga/resource.cpp

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Tue Jan 6 11:33:40 CET 2009


Revision: 35749
          http://scummvm.svn.sourceforge.net/scummvm/?rev=35749&view=rev
Author:   thebluegr
Date:     2009-01-06 10:33:40 +0000 (Tue, 06 Jan 2009)

Log Message:
-----------
Fixed regression: the ITE Mac version works correctly again

Modified Paths:
--------------
    scummvm/trunk/engines/saga/resource.cpp

Modified: scummvm/trunk/engines/saga/resource.cpp
===================================================================
--- scummvm/trunk/engines/saga/resource.cpp	2009-01-06 06:13:45 UTC (rev 35748)
+++ scummvm/trunk/engines/saga/resource.cpp	2009-01-06 10:33:40 UTC (rev 35749)
@@ -369,7 +369,8 @@
 				// The resources in the Wyrmkeep combined Windows/Mac/Linux CD version are little endian, but
 				// the voice file is big endian. If we got such a version with mixed files, mark this voice file
 				// as big endian
-				voiceFileType = GAME_VOICEFILE | GAME_SWAPENDIAN;	// This file is big endian
+				if (!_vm->isBigEndian())
+					voiceFileType = GAME_VOICEFILE | GAME_SWAPENDIAN;	// This file is big endian
 			}
 
 			if (!scumm_stricmp(curSoundfiles[i].fileName, "ite voices.bin")) {


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list