diff options
author | Lars Skovlund | 2010-11-09 10:07:34 +0000 |
---|---|---|
committer | Lars Skovlund | 2010-11-09 10:07:34 +0000 |
commit | 53a4a64b16cc347a8f06e7fdb35c02a989e74185 (patch) | |
tree | 268dc931291b20c244d22fe7199992c7f701fdf5 /engines/sci | |
parent | 4a5b01e3bb530f47ea41e3fabb9a485d4b9a2453 (diff) | |
download | scummvm-rg350-53a4a64b16cc347a8f06e7fdb35c02a989e74185.tar.gz scummvm-rg350-53a4a64b16cc347a8f06e7fdb35c02a989e74185.tar.bz2 scummvm-rg350-53a4a64b16cc347a8f06e7fdb35c02a989e74185.zip |
treat pushSelf opcode with low bit set as pushSelf (in fangames only, currently). Fixes bug #3038686.
(SCI Fanmade - Circus Quest: Crash when starting).
svn-id: r54150
Diffstat (limited to 'engines/sci')
-rw-r--r-- | engines/sci/engine/vm.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/engine/vm.cpp b/engines/sci/engine/vm.cpp index cefb228c13..8839d51947 100644 --- a/engines/sci/engine/vm.cpp +++ b/engines/sci/engine/vm.cpp @@ -1774,7 +1774,7 @@ void run_vm(EngineState *s) { break; case op_pushSelf: // 0x3e (62) - if (!(extOpcode & 1)) { + if (!(extOpcode & 1) || g_sci->getGameId() == GID_FANMADE) { PUSH32(s->xs->objp); } else { // Debug opcode op_file, skip null-terminated string (file name) |