From 04da34ceb7dbde0fbba2b6d51e0281a679be2c40 Mon Sep 17 00:00:00 2001 From: Jordan Woyak Date: Fri, 23 Jul 2010 06:39:07 +0000 Subject: [PATCH] Lil fix for Gecko code endifs. ((CT7 CST1) error messages) git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5950 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/Core/Src/GeckoCode.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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);