From 731e2120f65d4c43f5a8350a538e014dc2eb0488 Mon Sep 17 00:00:00 2001
From: Gamer64 <76565986+Gamer64ytb@users.noreply.github.com>
Date: Tue, 20 Aug 2024 18:12:45 +0200
Subject: [PATCH] android: Implement support for automatic resolution scale
Available on PC, but was missing on Android.
---
src/android/app/src/main/res/values/arrays.xml | 2 ++
src/android/app/src/main/res/values/strings.xml | 1 +
2 files changed, 3 insertions(+)
diff --git a/src/android/app/src/main/res/values/arrays.xml b/src/android/app/src/main/res/values/arrays.xml
index e957fd6bf..e77227368 100644
--- a/src/android/app/src/main/res/values/arrays.xml
+++ b/src/android/app/src/main/res/values/arrays.xml
@@ -321,6 +321,7 @@
+ - @string/internal_resolution_setting_auto
- @string/internal_resolution_setting_1x
- @string/internal_resolution_setting_2x
- @string/internal_resolution_setting_3x
@@ -333,6 +334,7 @@
- @string/internal_resolution_setting_10x
+ - 0
- 1
- 2
- 3
diff --git a/src/android/app/src/main/res/values/strings.xml b/src/android/app/src/main/res/values/strings.xml
index c2be8a7da..acf6e9980 100644
--- a/src/android/app/src/main/res/values/strings.xml
+++ b/src/android/app/src/main/res/values/strings.xml
@@ -269,6 +269,7 @@
Specifies the percentage to limit emulation speed. With the default of 100% emulation will be limited to normal speed. Values higher or lower will increase or decrease the speed limit.
Internal Resolution
Specifies the resolution used to render at. A high resolution will improve visual quality a lot but is also quite heavy on performance and might cause glitches in certain applications.
+ Auto (Screen Size)
Native (400x240)
2x Native (800x480)
3x Native (1200x720)