diff options
| author | Lioncash <mathew1800@gmail.com> | 2018-06-12 13:22:49 -0400 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2018-06-12 14:15:50 -0400 |
| commit | 0049ef3a2a879d785872b02c87ef8fc740974a63 (patch) | |
| tree | 8b67ed7a9700d92281e1c051fd0241bc3eeb2497 /Source/Core/DolphinWX/Debugger/RegisterView.cpp | |
| parent | 8a3679bebc9bcdbd0adb53075697b01cf8a1cb42 (diff) | |
Gekko: Centralize bitmasking of the FPSCR within UReg_FPSCR
Rather than introduce this handling in every system instruction that modifies
the FPSCR directly, we can instead just handle it within the data structure
instead, which avoids duplicating mask handling across instructions.
This also allows handling proper masking from the debugger register
windows themselves without duplicating masking behavior there either.
Diffstat (limited to 'Source/Core/DolphinWX/Debugger/RegisterView.cpp')
| -rw-r--r-- | Source/Core/DolphinWX/Debugger/RegisterView.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/DolphinWX/Debugger/RegisterView.cpp b/Source/Core/DolphinWX/Debugger/RegisterView.cpp index 6d62ca6b5e..0e392d829d 100644 --- a/Source/Core/DolphinWX/Debugger/RegisterView.cpp +++ b/Source/Core/DolphinWX/Debugger/RegisterView.cpp @@ -124,7 +124,7 @@ void SetSpecialRegValue(int reg, u32 value) PowerPC::SetXER(UReg_XER(value)); break; case 5: - PowerPC::ppcState.fpscr.Hex = value; + PowerPC::ppcState.fpscr = value; break; case 6: PowerPC::ppcState.msr.Hex = value; |
