summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/debugger.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/debugger.c')
-rw-r--r--src/emu/debugger.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/debugger.c b/src/emu/debugger.c
index 536740dd97b..dc960d34322 100644
--- a/src/emu/debugger.c
+++ b/src/emu/debugger.c
@@ -77,7 +77,7 @@ void debugger_init(running_machine &machine)
debugint_init(machine);
/* allocate a new entry for our global list */
- machine.add_notifier(MACHINE_NOTIFY_EXIT, debugger_exit);
+ machine.add_notifier(MACHINE_NOTIFY_EXIT, machine_notify_delegate(FUNC(debugger_exit), &machine));
entry = global_alloc(machine_entry);
entry->next = machine_list;
entry->machine = &machine;