From d493ace9de055e8f004de4e6794fc039a48e8cdc 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 4159d9e4e..7d34df802 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 5495a2a23..fe0321290 100644
--- a/src/android/app/src/main/res/values/strings.xml
+++ b/src/android/app/src/main/res/values/strings.xml
@@ -243,6 +243,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)