diff options
author | Joost Peters | 2003-07-04 10:19:39 +0000 |
---|---|---|
committer | Joost Peters | 2003-07-04 10:19:39 +0000 |
commit | 8d4c6d79999c5ade578c1d14a0c8d9c9424a8ed2 (patch) | |
tree | ab9ea111bc704525e13ecb362f863c432ca273cf /sky/disk.cpp | |
parent | f5f9061d86da319f4874d9d0f9f440367321375b (diff) | |
download | scummvm-rg350-8d4c6d79999c5ade578c1d14a0c8d9c9424a8ed2.tar.gz scummvm-rg350-8d4c6d79999c5ade578c1d14a0c8d9c9424a8ed2.tar.bz2 scummvm-rg350-8d4c6d79999c5ade578c1d14a0c8d9c9424a8ed2.zip |
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)
svn-id: r8734
Diffstat (limited to 'sky/disk.cpp')
-rw-r--r-- | sky/disk.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sky/disk.cpp b/sky/disk.cpp index 130154f609..c02f061445 100644 --- a/sky/disk.cpp +++ b/sky/disk.cpp @@ -46,7 +46,7 @@ SkyDisk::SkyDisk(char *gameDataPath) { 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 @@ uint32 SkyDisk::determineGameVersion() { //floppy (v0.0303) return 303; case 1445: - //floppy (v0.0331) + //floppy (v0.0331 or v0.0348) return 331; case 1711: //cd demo (v0.0365) |