Set SDL_HINT_APP_NAME (#2319)

Fixes #2300
This commit is contained in:
Alex
2025-05-11 13:10:48 +02:00
committed by GitHub
parent 9ed7e5803e
commit d6d820c013

View File

@ -299,6 +299,8 @@ int main(int argc, char** argv)
// http://stackoverflow.com/questions/14543333/joystick-wont-work-using-sdl
SDL_SetHint(SDL_HINT_JOYSTICK_ALLOW_BACKGROUND_EVENTS, "1");
SDL_SetHint(SDL_HINT_APP_NAME, "melonDS");
if (SDL_Init(SDL_INIT_HAPTIC) < 0)
{
printf("SDL couldn't init rumble\n");