aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornotaz2011-01-10 23:22:59 +0200
committernotaz2011-01-10 23:22:59 +0200
commit796a91ef98cca649bc62710491e2681b2ba8be1c (patch)
tree06f3c71872c16a48b6cefaa0232fa8c2db52f9b4
parent609aa81e7cec42c1d1cc4376b1bd5d9f1cdd6894 (diff)
downloadpcsx_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.c7
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();
}