From: notaz Date: Mon, 10 Jan 2011 21:22:59 +0000 (+0200) Subject: hack interpreter so that it can return to menu X-Git-Tag: r4~23 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=pcsx_rearmed.git;a=commitdiff_plain;h=796a91ef98cca649bc62710491e2681b2ba8be1c hack interpreter so that it can return to menu --- diff --git a/libpcsxcore/psxinterpreter.c b/libpcsxcore/psxinterpreter.c index 1f4b46cd..08b656f4 100644 --- a/libpcsxcore/psxinterpreter.c +++ b/libpcsxcore/psxinterpreter.c @@ -763,12 +763,13 @@ static int intInit() { static void intReset() { } -static void intExecute() { - for (;;) +void intExecute() { + extern int stop; + for (;!stop;) execI(); } -static void intExecuteBlock() { +void intExecuteBlock() { branch2 = 0; while (!branch2) execI(); }