treat pushSelf opcode with low bit set as pushSelf (in fangames only, currently). Fixes bug .

(SCI Fanmade - Circus Quest: Crash when starting).

svn-id: r54150
This commit is contained in:
Lars Skovlund 2010-11-09 10:07:34 +00:00
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)