mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-15 15:30:29 +02:00
Add convenient UI on the pause screen for changing/locking the screen orientation
This commit is contained in:
1 parent
9035485abf
commit
ed25b5e991
21 files changed
+247
-87
No files matched your search
@@ -1511,6 +1511,13 @@ void Config::PostLoadCleanup() {
|
||||
if (g_Config.sCustomDriver == "Default") {
|
||||
g_Config.sCustomDriver = "";
|
||||
}
|
||||
|
||||
// Squash unsupported screen rotations.
|
||||
if (g_Config.iScreenRotation == ROTATION_AUTO_HORIZONTAL) {
|
||||
g_Config.iScreenRotation = ROTATION_LOCKED_HORIZONTAL;
|
||||
} else if (g_Config.iScreenRotation == ROTATION_LOCKED_VERTICAL180) {
|
||||
g_Config.iScreenRotation = ROTATION_LOCKED_VERTICAL;
|
||||
}
|
||||
}
|
||||
|
||||
void Config::PreSaveCleanup() {
|
||||
|
||||
Reference in new issue
Block a user