Fix exception for "unusable COP1" in 4 instructions i missed accidentally (again)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user