diff options
| author | 2012-10-19 20:22:20 +0000 | |
|---|---|---|
| committer | 2012-10-19 20:22:20 +0000 | |
| commit | dd83f53979316be849514b9f3e405133f6eb6e2c (patch) | |
| tree | 4eae146a09c1491bcde81321239fb390b5fff07c /src/emu/debug | |
| parent | 51cd128df4721a51c74a4783386a6af8dfab9283 (diff) | |
Drink from the firehose, my pretties (nw)
Diffstat (limited to 'src/emu/debug')
| -rw-r--r-- | src/emu/debug/dvmemory.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/emu/debug/dvmemory.c b/src/emu/debug/dvmemory.c index 06c788c671a..c511e26cf3e 100644 --- a/src/emu/debug/dvmemory.c +++ b/src/emu/debug/dvmemory.c @@ -180,10 +180,11 @@ void debug_view_memory::enumerate_sources() if (itemname == NULL) break; - // if this is a single-entry global, add it - if (strstr(itemname, "state->")) + // add pretty much anything that's not a timer (we may wish to cull other items later) + // also, don't trim the front of the name, it's important to know which VIA6522 we're looking at, e.g. + if (strncmp(itemname, "timer/", 6)) { - name.cpy(strrchr(itemname, '/') + 1); + name.cpy(itemname); m_source_list.append(*auto_alloc(machine(), debug_view_memory_source(name, base, valsize, valcount))); } } |
