From 29b6b0de4167319a4f64ee95ecc5f18ba3fdf923 Mon Sep 17 00:00:00 2001 From: Aaron Giles Date: Fri, 25 Jun 2010 05:11:42 +0000 Subject: 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 --- src/emu/debug/debugcmd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/emu/debug/debugcmd.c') 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); } -- cgit v1.2.3