diff --git a/src/platform/sdl/sdl-events.c b/src/platform/sdl/sdl-events.c index f26ec5857..9046b4463 100644 --- a/src/platform/sdl/sdl-events.c +++ b/src/platform/sdl/sdl-events.c @@ -38,6 +38,9 @@ bool GBASDLInitEvents(struct GBASDLEvents* context) { subsystem |= SDL_INIT_HAPTIC | SDL_INIT_VIDEO; SDL_SetHint(SDL_HINT_JOYSTICK_ALLOW_BACKGROUND_EVENTS, "1"); +#endif +#if SDL_VERSION_ATLEAST(2, 0, 4) + SDL_SetHint(SDL_HINT_NO_SIGNAL_HANDLERS, "1"); #endif if (SDL_InitSubSystem(subsystem) < 0) { return false;