summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/ui.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/ui.c')
-rw-r--r--src/emu/ui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/ui.c b/src/emu/ui.c
index e5ce63026fd..a9c4911b8e7 100644
--- a/src/emu/ui.c
+++ b/src/emu/ui.c
@@ -237,7 +237,7 @@ INLINE int is_breakable_char(unicode_char ch)
int ui_init(running_machine &machine)
{
/* make sure we clean up after ourselves */
- machine.add_notifier(MACHINE_NOTIFY_EXIT, ui_exit);
+ machine.add_notifier(MACHINE_NOTIFY_EXIT, machine_notify_delegate(FUNC(ui_exit), &machine));
/* initialize the other UI bits */
ui_menu_init(machine);