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
1 changed files with 5 additions and 5 deletions

View File

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