diff options
author | Eugene Sandulenko | 2005-03-13 23:18:59 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2005-03-13 23:18:59 +0000 |
commit | 654528422dbe9174eaad34bde7bfab5b4c29739d (patch) | |
tree | 07e9547efb98795e349c0ecd775a12673be6c871 /scumm/resource_v2.cpp | |
parent | e7ea46c0a3bed29d8f995072c049cfdf2dd39dd6 (diff) | |
download | scummvm-rg350-654528422dbe9174eaad34bde7bfab5b4c29739d.tar.gz scummvm-rg350-654528422dbe9174eaad34bde7bfab5b4c29739d.tar.bz2 scummvm-rg350-654528422dbe9174eaad34bde7bfab5b4c29739d.zip |
Preliminary support for MM NES.
svn-id: r17133
Diffstat (limited to 'scumm/resource_v2.cpp')
-rw-r--r-- | scumm/resource_v2.cpp | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/scumm/resource_v2.cpp b/scumm/resource_v2.cpp index 8890febc95..64030a6a84 100644 --- a/scumm/resource_v2.cpp +++ b/scumm/resource_v2.cpp @@ -38,7 +38,14 @@ void ScummEngine_v2::readClassicIndexFile() { _numGlobalObjects = 800; _numRooms = 55; - _numCostumes = 35; + + if (_features & GF_NES) + // costumes 25-37 are special. see v1MMNEScostTables[] in costume.cpp + // costumes 38-77 are room graphics resources, to be referenced in + _numCostumes = 77; + else + _numCostumes = 35; + _numScripts = 200; _numSounds = 100; } else if (_gameId == GID_ZAK) { @@ -165,7 +172,6 @@ void ScummEngine_v2::readIndexFile() { readClassicIndexFile(); break; case 0x4643: - error("No support for NES version"); if (!(_features & GF_NES)) error("Use maniacnes target"); printf("NES V1 game detected\n"); |