mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-15 05:47:56 -07:00
Interpreter_SystemRegisters: Handle reserved/read-only bits for HID2 in mtspr
This commit is contained in:
parent
2dcd058f7d
commit
c87a2f57b4
@ -346,6 +346,9 @@ void Interpreter::mtspr(UGeckoInstruction inst)
|
||||
// not set.
|
||||
// TODO: disable write gather pipe if WPE not set
|
||||
// TODO: emulate locked cache and DMA bits.
|
||||
// Only the lower half of the register (upper half from a little endian perspective)
|
||||
// is modifiable, except for the DMAQL field.
|
||||
rSPR(index) = (rSPR(index) & 0xF0FF0000) | (old_value & 0x0F000000);
|
||||
break;
|
||||
|
||||
case SPR_HID4:
|
||||
|
Loading…
Reference in New Issue
Block a user