Android: Default screen rotation to auto landscape for new users. Fixes #11832

This commit is contained in:
Henrik Rydgård 2019-02-23 17:17:40 +01:00
parent 4c83d30b59
commit 172bcbbf47
2 changed files with 2 additions and 1 deletions

View File

@ -431,7 +431,7 @@ static ConfigSetting generalSettings[] = {
ConfigSetting("RemoteDebuggerOnStartup", &g_Config.bRemoteDebuggerOnStartup, false),
#ifdef __ANDROID__
ConfigSetting("ScreenRotation", &g_Config.iScreenRotation, ROTATION_LOCKED_HORIZONTAL),
ConfigSetting("ScreenRotation", &g_Config.iScreenRotation, ROTATION_AUTO_HORIZONTAL),
#endif
ConfigSetting("InternalScreenRotation", &g_Config.iInternalScreenRotation, ROTATION_LOCKED_HORIZONTAL),

View File

@ -37,6 +37,7 @@ enum {
ROTATION_LOCKED_VERTICAL = 2,
ROTATION_LOCKED_HORIZONTAL180 = 3,
ROTATION_LOCKED_VERTICAL180 = 4,
ROTATION_AUTO_HORIZONTAL = 5,
};
enum BufferFilter {