mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-10 04:43:26 +00:00
Fix "ripburger attacks Malcom" cutscene, by disabling pseudoRooms for V7 games.
They arn't used in FT at least, so I'm going to assume this could also fix the Dig. svn-id: r5073
This commit is contained in:
parent
b7e83decd7
commit
312ff21081
@ -470,7 +470,7 @@ void Scumm::ensureResourceLoaded(int type, int i)
|
|||||||
|
|
||||||
debug(9, "ensureResourceLoaded(%s,%d)", resTypeFromId(type), i);
|
debug(9, "ensureResourceLoaded(%s,%d)", resTypeFromId(type), i);
|
||||||
|
|
||||||
if (type == rtRoom && i > 127) {
|
if (type == rtRoom && i > 127 && !(_features & GF_AFTER_V7)) {
|
||||||
i = _resourceMapper[i & 127];
|
i = _resourceMapper[i & 127];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -578,7 +578,7 @@ void Scumm::startScene(int room, Actor * a, int objectNr)
|
|||||||
_currentRoom = room;
|
_currentRoom = room;
|
||||||
_vars[VAR_ROOM] = room;
|
_vars[VAR_ROOM] = room;
|
||||||
|
|
||||||
if (room >= 0x80)
|
if (room >= 0x80 && !(_features & GF_AFTER_V7))
|
||||||
_roomResource = _resourceMapper[room & 0x7F];
|
_roomResource = _resourceMapper[room & 0x7F];
|
||||||
else
|
else
|
||||||
_roomResource = room;
|
_roomResource = room;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user