Set SDL_HINT_APP_NAME

Fixes #2300
This commit is contained in:
Alex 2025-05-11 12:23:03 +02:00
parent 9ed7e5803e
commit 11cc9c3b66
No known key found for this signature in database
GPG Key ID: 2BB7F8FFF675B565
1 changed files with 2 additions and 0 deletions

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");