[Scummvm-cvs-logs] CVS: scummvm/sky disk.cpp,1.31,1.32
Joost Peters
joostp at users.sourceforge.net
Fri Jul 4 03:20:12 CEST 2003
Update of /cvsroot/scummvm/scummvm/sky
In directory sc8-pr-cvs1:/tmp/cvs-serv32045/sky
Modified Files:
disk.cpp
Log Message:
show detected game version at startup. (hopefully this will stop the wave of 'how do I find out what version I have' questions. we still need to alter the detection to allow 0.0348 to be the detected since it can't be uniquely identified by the number of dnr-entries (i.e. it has the same amount as v0.0331)
Index: disk.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/sky/disk.cpp,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -d -r1.31 -r1.32
--- disk.cpp 27 Jun 2003 02:54:05 -0000 1.31
+++ disk.cpp 4 Jul 2003 10:19:39 -0000 1.32
@@ -46,7 +46,7 @@
if (!(_dinnerTableEntries = _dnrHandle->readUint32LE()))
error("Error reading from sky.dnr!\n"); //even though it was opened correctly?!
- debug(1, "Entries in dinner table: %d", _dinnerTableEntries);
+ debug(1, "Found BASS version v0.0%d (%d dnr entries)", determineGameVersion(), _dinnerTableEntries);
_dinnerTableArea = (uint8 *)malloc(_dinnerTableEntries * 8);
entriesRead = _dnrHandle->read(_dinnerTableArea, 8 * _dinnerTableEntries) / 8;
@@ -414,7 +414,7 @@
//floppy (v0.0303)
return 303;
case 1445:
- //floppy (v0.0331)
+ //floppy (v0.0331 or v0.0348)
return 331;
case 1711:
//cd demo (v0.0365)
More information about the Scummvm-git-logs
mailing list