From e5d130c4b37ccaeec4355487fafb3dabb602113c Mon Sep 17 00:00:00 2001 From: Pokechu22 Date: Thu, 19 Aug 2021 10:27:31 -0700 Subject: [PATCH] DSPLLE: O is the mnemonic for overflow, not 0 --- Source/Core/Core/DSP/Interpreter/DSPInterpreter.cpp | 2 +- Source/Core/Core/DSP/Jit/x64/DSPJitBranch.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Core/Core/DSP/Interpreter/DSPInterpreter.cpp b/Source/Core/Core/DSP/Interpreter/DSPInterpreter.cpp index 9cd7804fbc..a005ba6ca5 100644 --- a/Source/Core/Core/DSP/Interpreter/DSPInterpreter.cpp +++ b/Source/Core/Core/DSP/Interpreter/DSPInterpreter.cpp @@ -289,7 +289,7 @@ bool Interpreter::CheckCondition(u8 condition) const return !IsLogicZero(); case 0xd: // LZ - Logic Zero return IsLogicZero(); - case 0xe: // 0 - Overflow + case 0xe: // O - Overflow return IsOverflow(); default: return true; diff --git a/Source/Core/Core/DSP/Jit/x64/DSPJitBranch.cpp b/Source/Core/Core/DSP/Jit/x64/DSPJitBranch.cpp index 043e5f2043..4768106a02 100644 --- a/Source/Core/Core/DSP/Jit/x64/DSPJitBranch.cpp +++ b/Source/Core/Core/DSP/Jit/x64/DSPJitBranch.cpp @@ -65,7 +65,7 @@ void DSPEmitter::ReJitConditional(const UDSPInstruction opc, case 0xd: // LZ - Logic Zero TEST(16, R(EAX), Imm16(SR_LOGIC_ZERO)); break; - case 0xe: // 0 - Overflow + case 0xe: // O - Overflow TEST(16, R(EAX), Imm16(SR_OVERFLOW)); break; }