summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/debug/debugcmd.c
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2010-06-25 05:11:42 +0000
committer Aaron Giles <aaron@aarongiles.com>2010-06-25 05:11:42 +0000
commit29b6b0de4167319a4f64ee95ecc5f18ba3fdf923 (patch)
treea408b4561c3d622c98e267e9a8a269390e0210ba /src/emu/debug/debugcmd.c
parent1c9abccb20fc25c928990ef050bce82efac99cc8 (diff)
C++-ified the debugger views. Not quite architecturally where I would
like them, but it's a start. Split implementation of individual view types out to separate files. Updated all callers. Also: * fixed okim6295 memory view * changed emualloc to free resource pools from earliest to latest so that early objects can safely clean up stuff they allocated
Diffstat (limited to 'src/emu/debug/debugcmd.c')
-rw-r--r--src/emu/debug/debugcmd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emu/debug/debugcmd.c b/src/emu/debug/debugcmd.c
index 1998851f001..7d00f073e06 100644
--- a/src/emu/debug/debugcmd.c
+++ b/src/emu/debug/debugcmd.c
@@ -1128,7 +1128,7 @@ static void execute_comment(running_machine *machine, int ref, int params, const
/* Now try adding the comment */
debug_comment_add(cpu, address, param[1], 0x00ff0000, debug_comment_get_opcode_crc32(cpu, address));
- debug_view_update_type(cpu->machine, DVT_DISASSEMBLY);
+ cpu->machine->m_debug_view->update_all(DVT_DISASSEMBLY);
}
@@ -1152,7 +1152,7 @@ static void execute_comment_del(running_machine *machine, int ref, int params, c
/* If it's a number, it must be an address */
/* The bankoff and cbn will be pulled from what's currently active */
debug_comment_remove(cpu, address, debug_comment_get_opcode_crc32(cpu, address));
- debug_view_update_type(cpu->machine, DVT_DISASSEMBLY);
+ cpu->machine->m_debug_view->update_all(DVT_DISASSEMBLY);
}