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

This commit is contained in:
2026-03-31 11:42:24 +02:00
parent b29715f20d
commit 8241e9735a
+8
View File
@@ -414,12 +414,16 @@ void Interpreter::Exec(const Instruction instr) {
ll(instr); ll(instr);
break; break;
case Instruction::LWC1: case Instruction::LWC1:
if (!regs.cop1.CheckFPUUsable())
return;
regs.cop1.lwc1(instr); regs.cop1.lwc1(instr);
break; break;
case Instruction::LLD: case Instruction::LLD:
lld(instr); lld(instr);
break; break;
case Instruction::LDC1: case Instruction::LDC1:
if (!regs.cop1.CheckFPUUsable())
return;
regs.cop1.ldc1(instr); regs.cop1.ldc1(instr);
break; break;
case Instruction::LD: case Instruction::LD:
@@ -429,12 +433,16 @@ void Interpreter::Exec(const Instruction instr) {
sc(instr); sc(instr);
break; break;
case Instruction::SWC1: case Instruction::SWC1:
if (!regs.cop1.CheckFPUUsable())
return;
regs.cop1.swc1(instr); regs.cop1.swc1(instr);
break; break;
case Instruction::SCD: case Instruction::SCD:
scd(instr); scd(instr);
break; break;
case Instruction::SDC1: case Instruction::SDC1:
if (!regs.cop1.CheckFPUUsable())
return;
regs.cop1.sdc1(instr); regs.cop1.sdc1(instr);
break; break;
case Instruction::SD: case Instruction::SD: