Fix exception for "unusable COP1" in 4 instructions i missed accidentally (again)

This commit is contained in:
2026-03-31 12:08:47 +02:00
parent df5828142d
commit 4b4c32f4b1
+4 -4
View File
@@ -414,7 +414,7 @@ void Interpreter::Exec(const Instruction instr) {
ll(instr);
break;
case Instruction::LWC1:
if (!regs.cop1.CheckFPUUsable())
if (!regs.cop1.CheckFPUUsable<true>())
return;
regs.cop1.lwc1(instr);
break;
@@ -422,7 +422,7 @@ void Interpreter::Exec(const Instruction instr) {
lld(instr);
break;
case Instruction::LDC1:
if (!regs.cop1.CheckFPUUsable())
if (!regs.cop1.CheckFPUUsable<true>())
return;
regs.cop1.ldc1(instr);
break;
@@ -433,7 +433,7 @@ void Interpreter::Exec(const Instruction instr) {
sc(instr);
break;
case Instruction::SWC1:
if (!regs.cop1.CheckFPUUsable())
if (!regs.cop1.CheckFPUUsable<true>())
return;
regs.cop1.swc1(instr);
break;
@@ -441,7 +441,7 @@ void Interpreter::Exec(const Instruction instr) {
scd(instr);
break;
case Instruction::SDC1:
if (!regs.cop1.CheckFPUUsable())
if (!regs.cop1.CheckFPUUsable<true>())
return;
regs.cop1.sdc1(instr);
break;