diff options
Diffstat (limited to 'Source/Core/InputCommon/ControllerInterface')
| -rw-r--r-- | Source/Core/InputCommon/ControllerInterface/SDL/SDL.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/InputCommon/ControllerInterface/SDL/SDL.cpp b/Source/Core/InputCommon/ControllerInterface/SDL/SDL.cpp index 92def8cc0a..99e953f146 100644 --- a/Source/Core/InputCommon/ControllerInterface/SDL/SDL.cpp +++ b/Source/Core/InputCommon/ControllerInterface/SDL/SDL.cpp @@ -204,7 +204,7 @@ InputBackend::InputBackend(ControllerInterface* controller_interface) } const Uint32 custom_events_start = SDL_RegisterEvents(2); - if (custom_events_start == static_cast<Uint32>(-1)) + if (custom_events_start == 0) { ERROR_LOG_FMT(CONTROLLERINTERFACE, "SDL failed to register custom events"); return; |
