mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-16 09:19:30 +00:00
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
This commit is contained in:
parent
4a5b01e3bb
commit
53a4a64b16
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user