diff --git a/Source/utils/display.cpp b/Source/utils/display.cpp index 433b93959..1fe846deb 100644 --- a/Source/utils/display.cpp +++ b/Source/utils/display.cpp @@ -155,11 +155,13 @@ bool SpawnWindow(const char *lpWindowName) scePowerSetArmClockFrequency(444); #endif -#if SDL_VERSION_ATLEAST(2, 0, 6) && defined(__vita__) +#if SDL_VERSION_ATLEAST(2, 0, 6) +#ifdef __vita__ SDL_SetHint(SDL_HINT_TOUCH_MOUSE_EVENTS, "0"); #endif + SDL_SetHint(SDL_HINT_MOUSE_TOUCH_EVENTS, "0"); +#endif -SDL_SetHint(SDL_HINT_MOUSE_TOUCH_EVENTS, "0"); #if defined(_WIN32) && !defined(USE_SDL1) // The default WASAPI backend causes distortions