Skip to content

Commit

Permalink
Do not start osk on startup on PSP
Browse files Browse the repository at this point in the history
  • Loading branch information
sharkwouter committed Jun 3, 2024
1 parent 295266c commit b1f4431
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/video/SDL_video.c
Original file line number Diff line number Diff line change
Expand Up @@ -567,7 +567,7 @@ int SDL_VideoInit(const char *driver_name)
SDL_DisableScreenSaver();
}

#if !defined(SDL_VIDEO_DRIVER_N3DS)
#if !defined(SDL_VIDEO_DRIVER_N3DS) && !defined(SDL_VIDEO_DRIVER_PSP)
/* In the initial state we don't want to pop up an on-screen keyboard,
* but we do want to allow text input from other mechanisms.
*/
Expand All @@ -581,7 +581,7 @@ int SDL_VideoInit(const char *driver_name)
SDL_SetHint(SDL_HINT_ENABLE_SCREEN_KEYBOARD, NULL);
}
}
#endif /* !SDL_VIDEO_DRIVER_N3DS */
#endif /* !SDL_VIDEO_DRIVER_N3DS && !SDL_VIDEO_DRIVER_PSP */

SDL_MousePostInit();

Expand Down

0 comments on commit b1f4431

Please sign in to comment.