From 5cf5f58690b6143868e04e3172464f9ef0462648 Mon Sep 17 00:00:00 2001 From: AJR Date: Wed, 29 Mar 2023 23:09:33 -0400 Subject: Apply workaround for debugger history command consuming ridiculous amounts of memory when jumping around large address spaces --- src/emu/debug/debugcmd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/emu/debug/debugcmd.cpp b/src/emu/debug/debugcmd.cpp index 21f2fc77dca..0a069f183c5 100644 --- a/src/emu/debug/debugcmd.cpp +++ b/src/emu/debug/debugcmd.cpp @@ -3551,13 +3551,13 @@ void debugger_commands::execute_history(const std::vector &par } // loop over lines - debug_disasm_buffer buffer(*device); std::string instruction; for (int index = int(unsigned(count)); index > 0; index--) { auto const pc = debug->history_pc(1 - index); if (pc.second) { + debug_disasm_buffer buffer(*device); offs_t next_offset; offs_t size; u32 info; -- cgit v1.2.3