From 796a91ef98cca649bc62710491e2681b2ba8be1c Mon Sep 17 00:00:00 2001 From: notaz Date: Mon, 10 Jan 2011 23:22:59 +0200 Subject: [PATCH] hack interpreter so that it can return to menu --- libpcsxcore/psxinterpreter.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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(); } -- 2.39.5