From 4ea8c6fda5faa42864e24e356ab4f79b62c2bad2 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 23bda49f5..ac1062194 100644
--- a/src/android/app/src/main/res/values/arrays.xml
+++ b/src/android/app/src/main/res/values/arrays.xml
@@ -309,6 +309,7 @@
+ - @string/internal_resolution_setting_auto
- @string/internal_resolution_setting_1x
- @string/internal_resolution_setting_2x
- @string/internal_resolution_setting_3x
@@ -321,6 +322,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 2e791a574..70582074d 100644
--- a/src/android/app/src/main/res/values/strings.xml
+++ b/src/android/app/src/main/res/values/strings.xml
@@ -249,6 +249,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)