Merge pull request #6466 from lioncash/mffs

Interpreter_SystemRegisters: Handle mffs, mtfsb0, mtfsb1, mtfsf and mtfsfi with the record bit set
This commit is contained in:
Markus Wick 2018-03-19 09:37:01 +01:00 committed by GitHub
commit 8c1be29cef
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -56,7 +56,7 @@ void Interpreter::mtfsb0x(UGeckoInstruction inst)
FPSCRtoFPUSettings(FPSCR); FPSCRtoFPUSettings(FPSCR);
if (inst.Rc) if (inst.Rc)
PanicAlert("mtfsb0x: inst.Rc"); Helper_UpdateCR1();
} }
void Interpreter::mtfsb1x(UGeckoInstruction inst) void Interpreter::mtfsb1x(UGeckoInstruction inst)
@ -70,7 +70,7 @@ void Interpreter::mtfsb1x(UGeckoInstruction inst)
FPSCRtoFPUSettings(FPSCR); FPSCRtoFPUSettings(FPSCR);
if (inst.Rc) if (inst.Rc)
PanicAlert("mtfsb1x: inst.Rc"); Helper_UpdateCR1();
} }
void Interpreter::mtfsfix(UGeckoInstruction inst) void Interpreter::mtfsfix(UGeckoInstruction inst)
@ -87,7 +87,7 @@ void Interpreter::mtfsfix(UGeckoInstruction inst)
FPSCRtoFPUSettings(FPSCR); FPSCRtoFPUSettings(FPSCR);
if (inst.Rc) if (inst.Rc)
PanicAlert("mtfsfix: inst.Rc"); Helper_UpdateCR1();
} }
void Interpreter::mtfsfx(UGeckoInstruction inst) void Interpreter::mtfsfx(UGeckoInstruction inst)
@ -108,7 +108,7 @@ void Interpreter::mtfsfx(UGeckoInstruction inst)
FPSCRtoFPUSettings(FPSCR); FPSCRtoFPUSettings(FPSCR);
if (inst.Rc) if (inst.Rc)
PanicAlert("mtfsfx: inst.Rc"); Helper_UpdateCR1();
} }
void Interpreter::mcrxr(UGeckoInstruction inst) void Interpreter::mcrxr(UGeckoInstruction inst)
@ -517,5 +517,5 @@ void Interpreter::mffsx(UGeckoInstruction inst)
riPS0(inst.FD) = 0xFFF8000000000000 | FPSCR.Hex; riPS0(inst.FD) = 0xFFF8000000000000 | FPSCR.Hex;
if (inst.Rc) if (inst.Rc)
PanicAlert("mffsx: inst_.Rc"); Helper_UpdateCR1();
} }