mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
[Android] Redo the Settings menu, Can now change the CPU Core, dual core setting, and video backend in the settings"
This commit is contained in:
28
Source/Android/res/layout/prefs.xml
Normal file
28
Source/Android/res/layout/prefs.xml
Normal file
@ -0,0 +1,28 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
>
|
||||
<PreferenceCategory
|
||||
android:summary="Settings"
|
||||
android:title="CPU Settings" >
|
||||
<ListPreference
|
||||
android:entries="@array/cpuOptions"
|
||||
android:entryValues="@array/cpuValues"
|
||||
android:key="cpupref"
|
||||
android:summary="Emulation core to use"
|
||||
android:title="CPU Core" />
|
||||
<CheckBoxPreference
|
||||
android:key="dualcorepref"
|
||||
android:summary="On/Off"
|
||||
android:title="Dual Core" />
|
||||
</PreferenceCategory>
|
||||
<PreferenceCategory
|
||||
android:summary="Settings"
|
||||
android:title="Video Settings" >
|
||||
<ListPreference
|
||||
android:entries="@array/gpuOptions"
|
||||
android:entryValues="@array/gpuValues"
|
||||
android:key="gpupref"
|
||||
android:summary="Video backend to use"
|
||||
android:title="Video Backend" />
|
||||
</PreferenceCategory>
|
||||
</PreferenceScreen>
|
22
Source/Android/res/values/prefvalues.xml
Normal file
22
Source/Android/res/values/prefvalues.xml
Normal file
@ -0,0 +1,22 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<string-array name="cpuOptions">
|
||||
<item>Interpreter</item>
|
||||
<item>ARM JIT Recompiler</item>
|
||||
</string-array>
|
||||
|
||||
<string-array name="cpuValues">
|
||||
<item>0</item>
|
||||
<item>3</item>
|
||||
</string-array>
|
||||
|
||||
<string-array name="gpuOptions">
|
||||
<item>Software Renderer</item>
|
||||
<item>OpenGL</item>
|
||||
</string-array>
|
||||
|
||||
<string-array name="gpuValues">
|
||||
<item>Software Renderer</item>
|
||||
<item>OGL</item>
|
||||
</string-array>
|
||||
</resources>
|
Reference in New Issue
Block a user