]> git.unchartedbackwaters.co.uk Git - francis/winuae.git/commitdiff
Include memory map dump in log if JIT causes unexpected exception
authorToni Wilen <twilen@winuae.net>
Sun, 16 Nov 2025 11:43:15 +0000 (13:43 +0200)
committerToni Wilen <twilen@winuae.net>
Sun, 16 Nov 2025 11:43:15 +0000 (13:43 +0200)
newcpu.cpp

index 4e7030cfc5729f351ee0eec50f63e4d3fbe5a93a..d1b7eed59957fa5d04c21db4ac785cb14d1bd646 100644 (file)
@@ -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