diff options
author | notaz | 2011-01-10 23:22:59 +0200 |
---|---|---|
committer | notaz | 2011-01-10 23:22:59 +0200 |
commit | 796a91ef98cca649bc62710491e2681b2ba8be1c (patch) | |
tree | 06f3c71872c16a48b6cefaa0232fa8c2db52f9b4 | |
parent | 609aa81e7cec42c1d1cc4376b1bd5d9f1cdd6894 (diff) | |
download | pcsx_rearmed-796a91ef98cca649bc62710491e2681b2ba8be1c.tar.gz pcsx_rearmed-796a91ef98cca649bc62710491e2681b2ba8be1c.tar.bz2 pcsx_rearmed-796a91ef98cca649bc62710491e2681b2ba8be1c.zip |
hack interpreter so that it can return to menu
-rw-r--r-- | libpcsxcore/psxinterpreter.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/libpcsxcore/psxinterpreter.c b/libpcsxcore/psxinterpreter.c index 1f4b46c..08b656f 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(); } |