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/debugcmd.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/debugcmd.c')
| -rw-r--r-- | src/emu/debug/debugcmd.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/emu/debug/debugcmd.c b/src/emu/debug/debugcmd.c index 75c444a6d00..da43ff1040b 100644 --- a/src/emu/debug/debugcmd.c +++ b/src/emu/debug/debugcmd.c @@ -1275,7 +1275,6 @@ static void execute_wpdisenable(int ref, int params, const char *param[]) static void execute_wplist(int ref, int params, const char *param[]) { - static const char *const spacenames[ADDRESS_SPACES] = { "program", "data", "I/O" }; int cpunum, printed = 0; char buffer[256]; @@ -1295,7 +1294,7 @@ static void execute_wplist(int ref, int params, const char *param[]) static const char *const types[] = { "unkn ", "read ", "write", "r/w " }; debug_cpu_watchpoint *wp; - debug_console_printf("CPU %d %s space watchpoints:\n", cpunum, spacenames[spacenum]); + debug_console_printf("CPU %d %s space watchpoints:\n", cpunum, address_space_names[spacenum]); /* loop over the watchpoints */ for (wp = cpuinfo->space[spacenum].first_wp; wp; wp = wp->next) |
