summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/Core/Src/GeckoCode.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/Core/Core/Src/GeckoCode.cpp b/Source/Core/Core/Src/GeckoCode.cpp
index 2d283def58..7c860a5860 100644
--- a/Source/Core/Core/Src/GeckoCode.cpp
+++ b/Source/Core/Core/Src/GeckoCode.cpp
@@ -907,7 +907,8 @@ bool EndCodes()
else
{
// too many endifs
- return false;
+ // no it's not, i gotta fix my code execution on/off stuff
+ code_execution_counter = 0;
}
const bool is_else = !!(code.address & 0x00100000);