summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/debug/debugcmd.cpp
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2023-03-29 23:09:33 -0400
committer AJR <ajrhacker@users.noreply.github.com>2023-03-29 23:10:58 -0400
commit5cf5f58690b6143868e04e3172464f9ef0462648 (patch)
treeacbe02500c870be0d80cd6b77f029d4058f90df6 /src/emu/debug/debugcmd.cpp
parent27b725e1bb11f25ecb9505edae0164ba98d1aac1 (diff)
Apply workaround for debugger history command consuming ridiculous amounts of memory when jumping around large address spaces
Diffstat (limited to 'src/emu/debug/debugcmd.cpp')
-rw-r--r--src/emu/debug/debugcmd.cpp2
1 files changed, 1 insertions, 1 deletions
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<std::string_view> &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;