diff options
Diffstat (limited to 'src/osd/sdl/window.c')
-rw-r--r-- | src/osd/sdl/window.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osd/sdl/window.c b/src/osd/sdl/window.c index ae9d6f44f97..5753f99a4ae 100644 --- a/src/osd/sdl/window.c +++ b/src/osd/sdl/window.c @@ -213,7 +213,7 @@ int sdlwindow_init(running_machine &machine) main_threadid = SDL_ThreadID(); // ensure we get called on the way out - machine.add_notifier(MACHINE_NOTIFY_EXIT, sdlwindow_exit); + machine.add_notifier(MACHINE_NOTIFY_EXIT, machine_notify_delegate(FUNC(sdlwindow_exit), &machine)); // if multithreading, create a thread to run the windows if (multithreading_enabled) |