From 63e00a91fd4f94f4959c2bab331a1a5bff6334b3 Mon Sep 17 00:00:00 2001 From: Toni Wilen Date: Sun, 16 Nov 2025 13:43:15 +0200 Subject: [PATCH] Include memory map dump in log if JIT causes unexpected exception --- newcpu.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/newcpu.cpp b/newcpu.cpp index 4e7030cf..d1b7eed5 100644 --- a/newcpu.cpp +++ b/newcpu.cpp @@ -5633,6 +5633,9 @@ static void m68k_run_jit(void) // Without this it would have crashed in any case.. uaecptr pc = M68K_GETPC; write_log(_T("Unhandled JIT exception! PC=%08x\n"), pc); +#ifdef DEBUGGER + memory_map_dump(); +#endif if (pc & 1) Exception(3); else -- 2.47.3