Skip to content

Commit

Permalink
Android: Add "Disable Fastmem" debug setting
Browse files Browse the repository at this point in the history
  • Loading branch information
Ebola16 committed Nov 29, 2020
1 parent d043c5f commit 80024ef
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
Expand Up @@ -9,6 +9,7 @@ public enum BooleanSetting implements AbstractBooleanSetting
// These entries have the same names and order as in C++, just for consistency.

MAIN_DSP_HLE(Settings.FILE_DOLPHIN, Settings.SECTION_INI_CORE, "DSPHLE", true),
MAIN_FASTMEM(Settings.FILE_DOLPHIN, Settings.SECTION_INI_CORE, "Fastmem", false),
MAIN_CPU_THREAD(Settings.FILE_DOLPHIN, Settings.SECTION_INI_CORE, "CPUThread", true),
MAIN_OVERRIDE_REGION_SETTINGS(Settings.FILE_DOLPHIN, Settings.SECTION_INI_CORE,
"OverrideRegionSettings", false),
Expand Down
Expand Up @@ -650,6 +650,7 @@ private void addLogConfigurationSettings(ArrayList<SettingsItem> sl)
private void addDebugSettings(ArrayList<SettingsItem> sl)
{
sl.add(new HeaderSetting(R.string.debug_warning, 0));
sl.add(new CheckBoxSetting(BooleanSetting.MAIN_FASTMEM, R.string.debug_fastmem, 0));

sl.add(new HeaderSetting(R.string.debug_jit_header, 0));
sl.add(new CheckBoxSetting(BooleanSetting.MAIN_JIT_OFF, R.string.debug_jitoff, 0));
Expand Down
3 changes: 2 additions & 1 deletion Source/Android/app/src/main/res/values/strings.xml
Expand Up @@ -287,7 +287,8 @@

<!-- Debug -->
<string name="debug_submenu">Debug</string>
<string name="debug_warning">Warning: These settings will slow emulation</string>
<string name="debug_warning">Warning: Debug settings will slow emulation</string>
<string name="debug_fastmem">Disable Fastmem</string>
<string name="debug_jit_header">Jit</string>
<string name="debug_jitoff">Jit Disabled</string>
<string name="debug_jitloadstoreoff">Jit Load Store Disabled</string>
Expand Down

0 comments on commit 80024ef

Please sign in to comment.