mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-11 00:29:11 +01:00
Interpreter: fix undefined bits of mffs
Lioncash tested this on hardware.
This commit is contained in:
parent
4baaa3755e
commit
415ad94dbe
@ -448,11 +448,10 @@ void Interpreter::mcrfs(UGeckoInstruction _inst)
|
|||||||
void Interpreter::mffsx(UGeckoInstruction _inst)
|
void Interpreter::mffsx(UGeckoInstruction _inst)
|
||||||
{
|
{
|
||||||
// load from FPSCR
|
// load from FPSCR
|
||||||
// This may or may not be accurate - but better than nothing, I guess
|
|
||||||
// TODO(ector): grab all overflow flags etc and set them in FPSCR
|
// TODO(ector): grab all overflow flags etc and set them in FPSCR
|
||||||
|
|
||||||
UpdateFPSCR();
|
UpdateFPSCR();
|
||||||
riPS0(_inst.FD) = (u64)FPSCR.Hex;
|
riPS0(_inst.FD) = 0xFFF8000000000000 | FPSCR.Hex;
|
||||||
|
|
||||||
if (_inst.Rc)
|
if (_inst.Rc)
|
||||||
PanicAlert("mffsx: inst_.Rc");
|
PanicAlert("mffsx: inst_.Rc");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user