From aa7a2fc4bf4ca24d22b2ab9f4c4de0e9f64043d8 Mon Sep 17 00:00:00 2001 From: Tillmann Karras Date: Sat, 8 Mar 2014 10:10:24 +0100 Subject: [PATCH] Jit64::twx(): add assert message The implemented and the real control flow differ a bit. --- Source/Core/Core/PowerPC/Jit64/Jit_Integer.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/Core/Core/PowerPC/Jit64/Jit_Integer.cpp b/Source/Core/Core/PowerPC/Jit64/Jit_Integer.cpp index 62cd6b0ada..c7d29022c9 100644 --- a/Source/Core/Core/PowerPC/Jit64/Jit_Integer.cpp +++ b/Source/Core/Core/PowerPC/Jit64/Jit_Integer.cpp @@ -2190,6 +2190,7 @@ void Jit64::twx(UGeckoInstruction inst) FixupBranch ag = J_CC(CC_G); FixupBranch ae = J_CC(CC_Z); // FIXME: will never be reached. But also no known code uses it... + _assert_msg_(DYNA_REC, (inst.TO & 3) == 0, "Seems like something actually does use this."); FixupBranch ll = J_CC(CC_NO); FixupBranch lg = J_CC(CC_O);