[Scummvm-cvs-logs] CVS: scummvm/scumm resource.cpp,1.9,1.10

Travis Howell kirben at users.sourceforge.net
Sat Sep 21 20:59:02 CEST 2002


Update of /cvsroot/scummvm/scummvm/scumm
In directory usw-pr-cvs1:/tmp/cvs-serv6640/scumm

Modified Files:
	resource.cpp 
Log Message:

Add hack from trin to make zak256 sfx/music work again.
Add Makefile changes to Makefile.mingw


Index: resource.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/resource.cpp,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- resource.cpp	22 Sep 2002 03:53:52 -0000	1.9
+++ resource.cpp	22 Sep 2002 03:58:53 -0000	1.10
@@ -530,7 +530,7 @@
 			size = _fileHandle.readDwordLE();
 			tag = _fileHandle.readWordLE();
 			_fileHandle.seek(-6, SEEK_CUR);
-			if (type == rtSound)
+			if ((type == rtSound) && (_gameId != GID_ZAK256))
 				return readSoundResourceSmallHeader(type, idx);
 		} else {
 			if (type == rtSound) {





More information about the Scummvm-git-logs mailing list