summaryrefslogtreecommitdiffstats
path: root/src/android/app
diff options
context:
space:
mode:
authorGPUCode <geoster3d@gmail.com>2023-11-23 10:26:06 +0100
committert895 <clombardo169@gmail.com>2023-11-25 06:47:43 +0100
commit9ff8d0f3e652fee83d9f4374d9f6e0aa1759dd88 (patch)
treed3bf69c51eab1e4c56db1615ecf5193aa76badcc /src/android/app
parentloader: apply nso patch to offset program image (diff)
downloadyuzu-9ff8d0f3e652fee83d9f4374d9f6e0aa1759dd88.tar
yuzu-9ff8d0f3e652fee83d9f4374d9f6e0aa1759dd88.tar.gz
yuzu-9ff8d0f3e652fee83d9f4374d9f6e0aa1759dd88.tar.bz2
yuzu-9ff8d0f3e652fee83d9f4374d9f6e0aa1759dd88.tar.lz
yuzu-9ff8d0f3e652fee83d9f4374d9f6e0aa1759dd88.tar.xz
yuzu-9ff8d0f3e652fee83d9f4374d9f6e0aa1759dd88.tar.zst
yuzu-9ff8d0f3e652fee83d9f4374d9f6e0aa1759dd88.zip
Diffstat (limited to 'src/android/app')
-rw-r--r--src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/view/SettingsItem.kt4
-rw-r--r--src/android/app/src/main/res/values/arrays.xml12
-rw-r--r--src/android/app/src/main/res/values/strings.xml2
3 files changed, 13 insertions, 5 deletions
diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/view/SettingsItem.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/view/SettingsItem.kt
index 1f090424b..e198b18a0 100644
--- a/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/view/SettingsItem.kt
+++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/view/SettingsItem.kt
@@ -82,8 +82,8 @@ abstract class SettingsItem(
IntSetting.CPU_BACKEND,
R.string.cpu_backend,
0,
- R.array.cpuBackendNames,
- R.array.cpuBackendValues
+ R.array.cpuBackendArm64Names,
+ R.array.cpuBackendArm64Values
)
)
put(
diff --git a/src/android/app/src/main/res/values/arrays.xml b/src/android/app/src/main/res/values/arrays.xml
index 2756e5cc9..ab435dce9 100644
--- a/src/android/app/src/main/res/values/arrays.xml
+++ b/src/android/app/src/main/res/values/arrays.xml
@@ -175,16 +175,24 @@
<item>2</item>
</integer-array>
- <string-array name="cpuBackendNames">
+ <string-array name="cpuBackendArm64Names">
<item>@string/cpu_backend_dynarmic</item>
<item>@string/cpu_backend_nce</item>
</string-array>
- <integer-array name="cpuBackendValues">
+ <integer-array name="cpuBackendArm64Values">
<item>0</item>
<item>1</item>
</integer-array>
+ <string-array name="cpuBackendX86Names">
+ <item>@string/cpu_backend_dynarmic</item>
+ </string-array>
+
+ <integer-array name="cpuBackendX86Values">
+ <item>0</item>
+ </integer-array>
+
<string-array name="cpuAccuracyNames">
<item>@string/auto</item>
<item>@string/cpu_accuracy_accurate</item>
diff --git a/src/android/app/src/main/res/values/strings.xml b/src/android/app/src/main/res/values/strings.xml
index f07121f6a..95b90fd6d 100644
--- a/src/android/app/src/main/res/values/strings.xml
+++ b/src/android/app/src/main/res/values/strings.xml
@@ -185,7 +185,7 @@
<string name="frame_limit_enable_description">Limits emulation speed to a specified percentage of normal speed.</string>
<string name="frame_limit_slider">Limit speed percent</string>
<string name="frame_limit_slider_description">Specifies the percentage to limit emulation speed. 100% is the normal speed. Values higher or lower will increase or decrease the speed limit.</string>
- <string name="cpu_backend">CPU Backend</string>
+ <string name="cpu_backend">CPU backend</string>
<string name="cpu_accuracy">CPU accuracy</string>
<string name="value_with_units">%1$s%2$s</string>