mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-09-08 09:10:57 +02:00
Merge pull request #13865 from Pokechu22/dsi-mention-mmu
Mention enable MMU in the DSI Exception message (Invalid read from ###/Invalid write to ###)
This commit is contained in:
@@ -1273,8 +1273,20 @@ void MMU::GenerateDSIException(u32 effective_address, bool write)
|
||||
// DSI exceptions are only supported in MMU mode.
|
||||
if (!m_system.IsMMUMode())
|
||||
{
|
||||
PanicAlertFmt("Invalid {} {:#010x}, PC = {:#010x}", write ? "write to" : "read from",
|
||||
effective_address, m_ppc_state.pc);
|
||||
if (write)
|
||||
{
|
||||
PanicAlertFmtT(
|
||||
"Invalid write to {0:#010x}, PC = {1:#010x}; the game probably would have crashed on "
|
||||
"real hardware.\n\nFor accurate emulation, enable MMU in advanced settings.",
|
||||
effective_address, m_ppc_state.pc);
|
||||
}
|
||||
else
|
||||
{
|
||||
PanicAlertFmtT(
|
||||
"Invalid read from {0:#010x}, PC = {1:#010x}; the game probably would have crashed on "
|
||||
"real hardware.\n\nFor accurate emulation, enable MMU in advanced settings.",
|
||||
effective_address, m_ppc_state.pc);
|
||||
}
|
||||
if (m_system.IsPauseOnPanicMode())
|
||||
{
|
||||
m_system.GetCPU().Break();
|
||||
|
Reference in New Issue
Block a user