summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/uiinput.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/uiinput.c')
-rw-r--r--src/emu/uiinput.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/uiinput.c b/src/emu/uiinput.c
index 1a7af6dda67..623d9347e2c 100644
--- a/src/emu/uiinput.c
+++ b/src/emu/uiinput.c
@@ -80,7 +80,7 @@ void ui_input_init(running_machine &machine)
machine.ui_input_data->current_mouse_y = -1;
/* add a frame callback to poll inputs */
- machine.add_notifier(MACHINE_NOTIFY_FRAME, ui_input_frame_update);
+ machine.add_notifier(MACHINE_NOTIFY_FRAME, machine_notify_delegate(FUNC(ui_input_frame_update), &machine));
}