mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 21:37:52 -07:00
MMU: on DSI exception, don't set store bit on read
This commit is contained in:
parent
8140d6b1d3
commit
18d777095b
@ -1283,7 +1283,7 @@ void MMU::GenerateDSIException(u32 effective_address, bool write)
|
||||
constexpr u32 dsisr_page = 1U << 30;
|
||||
constexpr u32 dsisr_store = 1U << 25;
|
||||
|
||||
if (effective_address != 0)
|
||||
if (write)
|
||||
m_ppc_state.spr[SPR_DSISR] = dsisr_page | dsisr_store;
|
||||
else
|
||||
m_ppc_state.spr[SPR_DSISR] = dsisr_page;
|
||||
|
Loading…
Reference in New Issue
Block a user