diff options
| author | 2008-01-03 09:03:31 +0000 | |
|---|---|---|
| committer | 2008-01-03 09:03:31 +0000 | |
| commit | d73ea1bf01d99528fdf3ecc04b2a5fec56617276 (patch) | |
| tree | ce20276e199d581a5d1941e93e9357ade672f93d /src/emu/debug/debugcpu.c | |
| parent | 415aebd2bd98af36894581ff61d089dc4113e08b (diff) | |
(From Oliver Stoneberg)
This patch fixes a few UNICODE=1 issues in the disassembly and memory
windows of the MAME debugger. I also removed two redundant arrays.
Diffstat (limited to 'src/emu/debug/debugcpu.c')
| -rw-r--r-- | src/emu/debug/debugcpu.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/emu/debug/debugcpu.c b/src/emu/debug/debugcpu.c index 3d25239aaac..2614d16123f 100644 --- a/src/emu/debug/debugcpu.c +++ b/src/emu/debug/debugcpu.c @@ -42,8 +42,6 @@ FILE *debug_source_file; symbol_table *global_symtable; -static const char *const address_space_name[] = { "program", "data", "I/O" }; - static UINT64 wpdata; static UINT64 wpaddr; @@ -1551,7 +1549,7 @@ static void check_hotspots(int cpunum, int spacenum, offs_t address) /* if the bottom of the list is over the threshhold, print it */ debug_hotspot_entry *spot = &info->hotspots[info->hotspot_count - 1]; if (spot->count > info->hotspot_threshhold) - debug_console_printf("Hotspot @ %s %08X (PC=%08X) hit %d times (fell off bottom)\n", address_space_name[spot->spacenum], spot->access, spot->pc, spot->count); + debug_console_printf("Hotspot @ %s %08X (PC=%08X) hit %d times (fell off bottom)\n", address_space_names[spot->spacenum], spot->access, spot->pc, spot->count); /* move everything else down and insert this one at the top */ memmove(&info->hotspots[1], &info->hotspots[0], sizeof(info->hotspots[0]) * (info->hotspot_count - 1)); |
