DSPLLE: O is the mnemonic for overflow, not 0

This commit is contained in:
Pokechu22 2021-08-19 10:27:31 -07:00
parent 4865b322d0
commit e5d130c4b3
2 changed files with 2 additions and 2 deletions

View File

@ -289,7 +289,7 @@ bool Interpreter::CheckCondition(u8 condition) const
return !IsLogicZero(); return !IsLogicZero();
case 0xd: // LZ - Logic Zero case 0xd: // LZ - Logic Zero
return IsLogicZero(); return IsLogicZero();
case 0xe: // 0 - Overflow case 0xe: // O - Overflow
return IsOverflow(); return IsOverflow();
default: default:
return true; return true;

View File

@ -65,7 +65,7 @@ void DSPEmitter::ReJitConditional(const UDSPInstruction opc,
case 0xd: // LZ - Logic Zero case 0xd: // LZ - Logic Zero
TEST(16, R(EAX), Imm16(SR_LOGIC_ZERO)); TEST(16, R(EAX), Imm16(SR_LOGIC_ZERO));
break; break;
case 0xe: // 0 - Overflow case 0xe: // O - Overflow
TEST(16, R(EAX), Imm16(SR_OVERFLOW)); TEST(16, R(EAX), Imm16(SR_OVERFLOW));
break; break;
} }