mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-03-06 16:13:40 +00:00
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.