From e2ff99c84fcd66647d260142affb2a191789bddb Mon Sep 17 00:00:00 2001 From: Vas Crabb Date: Sat, 14 Jan 2023 16:23:22 +1100 Subject: osd: I am officially incapable of keeping track of which OSD I'm working with on each change (fix SDL build). --- src/osd/modules/input/input_sdl.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/osd/modules/input/input_sdl.cpp b/src/osd/modules/input/input_sdl.cpp index 295935fda88..a6ee013ce3c 100644 --- a/src/osd/modules/input/input_sdl.cpp +++ b/src/osd/modules/input/input_sdl.cpp @@ -1862,7 +1862,7 @@ public: auto &sdlopts = downcast(*options()); bool const sixaxis_mode = sdlopts.sixaxis(); - if (!machine().options().debug && sdlopts.background_input()) + if (!machine.options().debug() && sdlopts.background_input()) SDL_SetHint(SDL_HINT_JOYSTICK_ALLOW_BACKGROUND_EVENTS, "1"); SDL_SetHint(SDL_HINT_ACCELEROMETER_AS_JOYSTICK, "0"); @@ -1953,7 +1953,7 @@ public: auto &sdlopts = downcast(*options()); bool const sixaxis_mode = sdlopts.sixaxis(); - if (!machine().options().debuge() && sdlopts.background_input()) + if (!machine.options().debug() && sdlopts.background_input()) SDL_SetHint(SDL_HINT_JOYSTICK_ALLOW_BACKGROUND_EVENTS, "1"); SDL_SetHint(SDL_HINT_ACCELEROMETER_AS_JOYSTICK, "0"); -- cgit v1.2.3