diff options
| author | Ryan Houdek <Sonicadvance1@gmail.com> | 2013-05-20 02:57:39 -0500 |
|---|---|---|
| committer | Ryan Houdek <Sonicadvance1@gmail.com> | 2013-05-20 02:59:12 -0500 |
| commit | f8a5d05c07e6a3f10b9bf5f5e17e9fe59e60107c (patch) | |
| tree | 36f636d8096153fe5d09196bb6f43c5839145b49 /Source/Android/res | |
| parent | 9a1b9e9b3b6960cdb0723b73a4a224cee9a7c1bf (diff) | |
[Android] Redo the Settings menu, Can now change the CPU Core, dual core setting, and video backend in the settings"
Diffstat (limited to 'Source/Android/res')
| -rw-r--r-- | Source/Android/res/layout/prefs.xml | 28 | ||||
| -rw-r--r-- | Source/Android/res/values/prefvalues.xml | 22 |
2 files changed, 50 insertions, 0 deletions
diff --git a/Source/Android/res/layout/prefs.xml b/Source/Android/res/layout/prefs.xml new file mode 100644 index 0000000000..bceb581c36 --- /dev/null +++ b/Source/Android/res/layout/prefs.xml @@ -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>
\ No newline at end of file diff --git a/Source/Android/res/values/prefvalues.xml b/Source/Android/res/values/prefvalues.xml new file mode 100644 index 0000000000..77354f76a4 --- /dev/null +++ b/Source/Android/res/values/prefvalues.xml @@ -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>
\ No newline at end of file |
