mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
Interpreter_SystemRegisters: Handle reserved/read-only bits for HID2 in mtspr
This commit is contained in:
@ -346,6 +346,9 @@ void Interpreter::mtspr(UGeckoInstruction inst)
|
|||||||
// not set.
|
// not set.
|
||||||
// TODO: disable write gather pipe if WPE not set
|
// TODO: disable write gather pipe if WPE not set
|
||||||
// TODO: emulate locked cache and DMA bits.
|
// 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;
|
break;
|
||||||
|
|
||||||
case SPR_HID4:
|
case SPR_HID4:
|
||||||
|
Reference in New Issue
Block a user