diff options
| author | Jonathan Gray | 2004-08-23 06:30:34 +0000 | 
|---|---|---|
| committer | Jonathan Gray | 2004-08-23 06:30:34 +0000 | 
| commit | b7ad2a612abb62bfc9e9432bb02efccaa441924b (patch) | |
| tree | 1d69c79046f426bd09b23e6df6bfcc7ffcd41781 | |
| parent | 44eca16eb69613c0fc7247c7eb5447d560339466 (diff) | |
| download | scummvm-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.cpp | 3 | 
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);  | 
