From 7c4db90e25cf4b87a9e2c75c8e99b03d3710bdbd Mon Sep 17 00:00:00 2001 From: AJR Date: Thu, 30 Mar 2023 15:19:59 -0400 Subject: debugbuf.cpp: Note flaw in design --- src/emu/debug/debugbuf.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/emu/debug/debugbuf.cpp b/src/emu/debug/debugbuf.cpp index b209f84b8a5..616567b398e 100644 --- a/src/emu/debug/debugbuf.cpp +++ b/src/emu/debug/debugbuf.cpp @@ -82,6 +82,8 @@ void debug_disasm_buffer::debug_data_buffer::fill(offs_t lstart, offs_t size) co } } + // FIXME: This buffer tends to hog more memory than necessary for typical disassembly tasks. + // If the PC values supplied are far enough apart, the buffer may suddenly increase in size to a gigabyte or more. if(m_buffer.empty()) { m_lstart = lstart; m_lend = lend; -- cgit v1.2.3