summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/debug
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/debug')
-rw-r--r--src/emu/debug/debugcpu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/debug/debugcpu.c b/src/emu/debug/debugcpu.c
index e2d60e79ad3..9fad76f48a3 100644
--- a/src/emu/debug/debugcpu.c
+++ b/src/emu/debug/debugcpu.c
@@ -828,7 +828,7 @@ void mame_debug_hook(offs_t curpc)
if (execution_state != EXECUTION_STATE_STOPPED && ++key_check_counter > 10000)
{
key_check_counter = 0;
- if (input_ui_pressed(IPT_UI_DEBUG_BREAK))
+ if (input_ui_pressed(Machine, IPT_UI_DEBUG_BREAK))
{
execution_state = EXECUTION_STATE_STOPPED;
debug_console_printf("User-initiated break\n");