Add support for the CPU Clock Override feature to Android UI

This commit is contained in:
sigmabeta committed 2016-01-03 16:46:29 -05:00
1 parent a898aa1585
commit b882a79322
4 files changed
+68 -7

No files matched your search

@@ -252,6 +252,10 @@
<string name="dual_core_descrip">Split workload to two CPU cores instead of one. Increases speed.</string>
<string name="fastmem">Fastmem</string>
<string name="fastmem_desc">Uses potentially unsafe optimizations for memory access.</string>
<string name="overclock_enable">Override Emulated CPU Clock Speed</string>
<string name="overclock_enable_description">Higher values can make variable-framerate games run at a higher framerate, requiring a powerful device. Lower values make games run at a lower framerate, increasing emulation speed, but reducing the emulated console\'s performance.</string>
<string name="overclock_title">Emulated CPU Clock Speed</string>
<string name="overclock_warning">WARNING: Changing this from the default (100%) WILL break games and cause glitches. Please do not report bugs that occur with a non-default clock.</string>
<!-- Video Preference Fragment -->
<string name="video_settings">Video</string>
@@ -19,6 +19,21 @@
android:entries="@array/string_emu_cores"
android:entryValues="@array/int_emu_cores"/>
<CheckBoxPreference
android:defaultValue="false"
android:key="OverclockEnable"
android:summary="@string/overclock_enable_description"
android:title="@string/overclock_enable"
/>
<org.dolphinemu.dolphinemu.utils.SliderPreference
android:dependency="OverclockEnable"
android:defaultValue="100"
android:key="Overclock"
android:max="400"
android:title="@string/overclock_title"
/>
</PreferenceCategory>
<PreferenceCategory