From e39f0f9ce88229a94b2a034db0571545be58dc6a Mon Sep 17 00:00:00 2001 From: nakeee Date: Fri, 1 May 2009 09:26:47 +0000 Subject: [PATCH] DSP: reverting some condition code until we handle 0x1 and 0x2 correctly git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3115 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/DSPCore/Src/gdsp_condition_codes.cpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Source/Core/DSPCore/Src/gdsp_condition_codes.cpp b/Source/Core/DSPCore/Src/gdsp_condition_codes.cpp index f60e083be0..0437247bb2 100644 --- a/Source/Core/DSPCore/Src/gdsp_condition_codes.cpp +++ b/Source/Core/DSPCore/Src/gdsp_condition_codes.cpp @@ -136,12 +136,16 @@ bool CheckCondition(u8 _Condition) break; case 0x6: // L - LESS - if (g_dsp.r[DSP_REG_SR] & 0x02) + // Should be that once we set 0x02 + // if (g_dsp.r[DSP_REG_SR] & 0x02) + if (isSign()) taken = true; break; case 0x7: // GE - GREATER EQUAL - if (g_dsp.r[DSP_REG_SR] & SR_CARRY) + // Should be that once we set 0x01 + // if (g_dsp.r[DSP_REG_SR] & SR_CARRY) + if (! isSign() || isZero()) taken = true; break;