mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-27 07:20:49 +00:00
Center SDL window when possible
This commit is contained in:
parent
b913c3c36f
commit
790c70f3fb
@ -381,6 +381,8 @@ void ToggleFullScreenIfFlagSet() {
|
||||
#undef main
|
||||
#endif
|
||||
int main(int argc, char *argv[]) {
|
||||
putenv("SDL_VIDEO_CENTERED=1");
|
||||
|
||||
std::string app_name;
|
||||
std::string app_name_nice;
|
||||
bool landscape;
|
||||
|
Loading…
Reference in New Issue
Block a user