summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/modules/input/input_sdl.cpp
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2023-01-14 16:23:22 +1100
committer Vas Crabb <vas@vastheman.com>2023-01-14 16:23:22 +1100
commite2ff99c84fcd66647d260142affb2a191789bddb (patch)
tree5ad1a3618f27135fc9510e6c25e45af283ce2685 /src/osd/modules/input/input_sdl.cpp
parent2592ac32c15622249028fecfb2043eda3129e8be (diff)
osd: I am officially incapable of keeping track of which OSD I'm working with on each change (fix SDL build).
Diffstat (limited to 'src/osd/modules/input/input_sdl.cpp')
-rw-r--r--src/osd/modules/input/input_sdl.cpp4
1 files 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<sdl_options const &>(*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<sdl_options const &>(*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");