diff options
| author | Lioncash <mathew1800@gmail.com> | 2018-06-20 18:38:05 -0400 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2018-06-20 18:50:33 -0400 |
| commit | d0fbba9ac1f23f6d55e8d18d8d24bc24220596d8 (patch) | |
| tree | f2f6473135ec0584f33ed6177ce514e281378786 /Source/Core/InputCommon/ControllerInterface/Android/Android.cpp | |
| parent | bdfc6de9fdd5eeb3d5e7b15ff8464da710953850 (diff) | |
Interpreter_SystemRegisters: Handle mtspr to HID1 and PVR properly
Despite both being documented as read-only registers, only one of them
is truly read-only. An mtspr to HID1 will steamroll bits 0-4 with
bits 0-4 of whatever value is currently in the source register, the rest
of the bits are not modified as bits 5-31 are considered reserved, so
these ignore writes to them.
PVR on the other hand, is truly a read-only register. Attempts to write
to it don't modify the value within it, so we model this behavior.
Diffstat (limited to 'Source/Core/InputCommon/ControllerInterface/Android/Android.cpp')
0 files changed, 0 insertions, 0 deletions
