diff options
| author | Tillmann Karras <tilkax@gmail.com> | 2015-08-18 15:05:27 +0200 |
|---|---|---|
| committer | Tillmann Karras <tilkax@gmail.com> | 2015-08-18 15:07:14 +0200 |
| commit | 415ad94dbe0b673aaa7206e51184f2a90a452d5b (patch) | |
| tree | a01c8ec0fc22276b0e7ccecdbe21cb57220d97e9 /Source | |
| parent | 4baaa3755ecf708ce89ef073c10afcec17e4dacd (diff) | |
Interpreter: fix undefined bits of mffs
Lioncash tested this on hardware.
Diffstat (limited to 'Source')
| -rw-r--r-- | Source/Core/Core/PowerPC/Interpreter/Interpreter_SystemRegisters.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/Core/Core/PowerPC/Interpreter/Interpreter_SystemRegisters.cpp b/Source/Core/Core/PowerPC/Interpreter/Interpreter_SystemRegisters.cpp index 7258959467..08f165bcde 100644 --- a/Source/Core/Core/PowerPC/Interpreter/Interpreter_SystemRegisters.cpp +++ b/Source/Core/Core/PowerPC/Interpreter/Interpreter_SystemRegisters.cpp @@ -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"); |
