diff options
author | Travis Howell | 2007-03-03 23:02:54 +0000 |
---|---|---|
committer | Travis Howell | 2007-03-03 23:02:54 +0000 |
commit | 8e70329ce3d550a621843ffc055e416797e6054d (patch) | |
tree | 7a867653f8b8a55e0249be1e5d03dc8544381181 /engines/scumm/script_v5.cpp | |
parent | 5cee9799f1f0684ac0947be7a1747021435148ba (diff) | |
download | scummvm-rg350-8e70329ce3d550a621843ffc055e416797e6054d.tar.gz scummvm-rg350-8e70329ce3d550a621843ffc055e416797e6054d.tar.bz2 scummvm-rg350-8e70329ce3d550a621843ffc055e416797e6054d.zip |
Fix level selection in PC Engine version of Loom.
svn-id: r25954
Diffstat (limited to 'engines/scumm/script_v5.cpp')
-rw-r--r-- | engines/scumm/script_v5.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/engines/scumm/script_v5.cpp b/engines/scumm/script_v5.cpp index 650a946f93..e2e7b87ff0 100644 --- a/engines/scumm/script_v5.cpp +++ b/engines/scumm/script_v5.cpp @@ -1705,6 +1705,12 @@ void ScummEngine_v5::o5_resourceRoutines() { int op = _opcode & 0x3F; + // FIXME: Sound resources are currently missing + if (_game.id == GID_LOOM && _game.platform == Common::kPlatformPCEngine && + (op == 2 || op == 6)) { + return; + } + switch (op) { case 1: // SO_LOAD_SCRIPT case 2: // SO_LOAD_SOUND @@ -1739,6 +1745,9 @@ void ScummEngine_v5::o5_resourceRoutines() { _res->lock(rtScript, resid); break; case 10: // SO_LOCK_SOUND + // FIXME: Sound resources are currently missing + if (_game.id == GID_LOOM && _game.platform == Common::kPlatformPCEngine) + break; _res->lock(rtSound, resid); break; case 11: // SO_LOCK_COSTUME @@ -1756,6 +1765,9 @@ void ScummEngine_v5::o5_resourceRoutines() { _res->unlock(rtScript, resid); break; case 14: // SO_UNLOCK_SOUND + // FIXME: Sound resources are currently missing + if (_game.id == GID_LOOM && _game.platform == Common::kPlatformPCEngine) + break; _res->unlock(rtSound, resid); break; case 15: // SO_UNLOCK_COSTUME |