diff options
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"); |