From a46926f5ccca8d718f115264aa1dffa666a9df1e Mon Sep 17 00:00:00 2001 From: Alug Date: Fri, 12 Sep 2025 03:36:05 +0200 Subject: [PATCH] Set SDL_HINT_APP_NAME SDL hint --- src/sdl/i_system.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/sdl/i_system.cpp b/src/sdl/i_system.cpp index fde87b9fe..033783d4c 100644 --- a/src/sdl/i_system.cpp +++ b/src/sdl/i_system.cpp @@ -1940,6 +1940,11 @@ INT32 I_StartupSystem(void) SDLcompiled.major, SDLcompiled.minor, SDLcompiled.patch); I_OutputMsg("Linked with SDL version: %d.%d.%d\n", SDLlinked.major, SDLlinked.minor, SDLlinked.patch); + +#if (SDL_VERSION_ATLEAST(2, 0, 18)) + SDL_SetHint(SDL_HINT_APP_NAME, "SRB2Kart Saturn"); +#endif + if (SDL_Init(0) < 0) I_Error("SRB2: SDL System Error: %s", SDL_GetError()); //Alam: Oh no.... #ifndef NOMUMBLE