mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-14 01:59:34 +01:00
Config: Default UI scale factor 0 on Android and iOS
PPSSPP_PLATFORM(LINUX) is also true on Android, so it got the desktop default of -1, which was never intended.
This commit is contained in:
1 parent
f1ef96e3dd
commit
c7e7ee2821
1 file changed
+4
-1
+4
-1
@@ -239,7 +239,10 @@ static float DefaultUISaturation() {
|
||||
}
|
||||
|
||||
static int DefaultUIScaleFactor() {
|
||||
#if PPSSPP_PLATFORM(WINDOWS) || PPSSPP_PLATFORM(LINUX) || PPSSPP_PLATFORM(MAC)
|
||||
// Android also return true on Linux, so we check it separately first. It was never intended for it to get -1.
|
||||
#if PPSSPP_PLATFORM(ANDROID) || PPSSPP_PLATFORM(IOS)
|
||||
return 0;
|
||||
#elif PPSSPP_PLATFORM(WINDOWS) || PPSSPP_PLATFORM(LINUX) || PPSSPP_PLATFORM(MAC)
|
||||
return -1;
|
||||
#else
|
||||
return 0;
|
||||
|
||||
Reference in new issue
Block a user