summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/debug/debugbuf.cpp
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2023-03-30 15:19:59 -0400
committer AJR <ajrhacker@users.noreply.github.com>2023-03-30 15:20:03 -0400
commit7c4db90e25cf4b87a9e2c75c8e99b03d3710bdbd (patch)
treefdf6aaf308865fe367c8d5f1b804b66de359d04b /src/emu/debug/debugbuf.cpp
parente80ada6395a971fe3fe75063eb03ff8d6b9f8450 (diff)
debugbuf.cpp: Note flaw in design
Diffstat (limited to 'src/emu/debug/debugbuf.cpp')
-rw-r--r--src/emu/debug/debugbuf.cpp2
1 files changed, 2 insertions, 0 deletions
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;