Interpreter: fix undefined bits of mffs

Lioncash tested this on hardware.
This commit is contained in:
Tillmann Karras 2015-08-18 15:05:27 +02:00
parent 4baaa3755e
commit 415ad94dbe

View file

@ -448,11 +448,10 @@ void Interpreter::mcrfs(UGeckoInstruction _inst)
void Interpreter::mffsx(UGeckoInstruction _inst)
{
// 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
UpdateFPSCR();
riPS0(_inst.FD) = (u64)FPSCR.Hex;
riPS0(_inst.FD) = 0xFFF8000000000000 | FPSCR.Hex;
if (_inst.Rc)
PanicAlert("mffsx: inst_.Rc");