summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/debug/debugcmd.c
diff options
context:
space:
mode:
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);
}