diff options
author | Jonathan Gray | 2004-06-26 03:00:37 +0000 |
---|---|---|
committer | Jonathan Gray | 2004-06-26 03:00:37 +0000 |
commit | 2abe07e0443418665795906179d9f24b2168124f (patch) | |
tree | d4094da81ec94208082cd7f5167bf62c508448bd /scumm | |
parent | cbf068b638c5d162c331bd5dc23d0293fe0f5c6c (diff) | |
download | scummvm-rg350-2abe07e0443418665795906179d9f24b2168124f.tar.gz scummvm-rg350-2abe07e0443418665795906179d9f24b2168124f.tar.bz2 scummvm-rg350-2abe07e0443418665795906179d9f24b2168124f.zip |
let my Scummsys.90 version of freddi get detected properly
svn-id: r14061
Diffstat (limited to 'scumm')
-rw-r--r-- | scumm/resource.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/scumm/resource.cpp b/scumm/resource.cpp index be5b745508..5fb59c96bd 100644 --- a/scumm/resource.cpp +++ b/scumm/resource.cpp @@ -2090,7 +2090,11 @@ void ScummEngine::readMAXS(int blockSize) { _numGlobalScripts = 2000; _shadowPaletteSize = NUM_SHADOW_PALETTE * 256; - } else if (_heversion >= 72) { // sputm7.2 + // check blocksize instead of just >= 72 as some 70 targets have later engine versions + // freddi being an example of this + } else if (_heversion >= 70 && blockSize > 38) { // sputm7.2 + if (_heversion < 72) + _heversion = 72; if (blockSize != 32 + 8) { if (blockSize == 44 + 8) error("MAXS blocks from C++ based games not yet supported"); |