aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Gray2004-08-23 06:30:34 +0000
committerJonathan Gray2004-08-23 06:30:34 +0000
commitb7ad2a612abb62bfc9e9432bb02efccaa441924b (patch)
tree1d69c79046f426bd09b23e6df6bfcc7ffcd41781
parent44eca16eb69613c0fc7247c7eb5447d560339466 (diff)
downloadscummvm-rg350-b7ad2a612abb62bfc9e9432bb02efccaa441924b.tar.gz
scummvm-rg350-b7ad2a612abb62bfc9e9432bb02efccaa441924b.tar.bz2
scummvm-rg350-b7ad2a612abb62bfc9e9432bb02efccaa441924b.zip
add readMAXS debug statement
svn-id: r14699
-rw-r--r--scumm/resource.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/scumm/resource.cpp b/scumm/resource.cpp
index f51e2b4e64..bcc9c50c88 100644
--- a/scumm/resource.cpp
+++ b/scumm/resource.cpp
@@ -2221,6 +2221,7 @@ void ScummEngine::resourceStats() {
}
void ScummEngine::readMAXS(int blockSize) {
+ debug(9, "readMAXS: MAXS has blocksize %d", blockSize);
// FIXME: trying to detect multiple targets probably a better way to do this
if (_heversion >= 70 && blockSize > 38 && _heversion < 72)
_heversion = 72;
@@ -2297,7 +2298,7 @@ void ScummEngine::readMAXS(int blockSize) {
_fileHandle.readUint16LE(); // _numLocalScripts?
_fileHandle.readUint16LE(); // unknown
} else if (_heversion >= 70 && (blockSize == 44 + 8)) { // C++ based engine
- error("MAXS blocks from C++ based games not yet supported");
+ error("MAXS blocks from C++ based games not yet supported");
} else if (_heversion >= 70 && blockSize > 38) { // sputm7.2
if (blockSize != 32 + 8)
error("MAXS block of size %d not supported, please report", blockSize);