Merge pull request #9301 from Ebola16/ADebug

Android: Add "Disable Fastmem" debug setting
This commit is contained in:
LC 2020-11-30 09:33:59 -05:00 committed by GitHub
commit 558ba19314
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 1 deletions

View File

@ -9,6 +9,7 @@ public enum BooleanSetting implements AbstractBooleanSetting
// These entries have the same names and order as in C++, just for consistency. // 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_DSP_HLE(Settings.FILE_DOLPHIN, Settings.SECTION_INI_CORE, "DSPHLE", true),
MAIN_FASTMEM(Settings.FILE_DOLPHIN, Settings.SECTION_INI_CORE, "Fastmem", true),
MAIN_CPU_THREAD(Settings.FILE_DOLPHIN, Settings.SECTION_INI_CORE, "CPUThread", true), MAIN_CPU_THREAD(Settings.FILE_DOLPHIN, Settings.SECTION_INI_CORE, "CPUThread", true),
MAIN_OVERRIDE_REGION_SETTINGS(Settings.FILE_DOLPHIN, Settings.SECTION_INI_CORE, MAIN_OVERRIDE_REGION_SETTINGS(Settings.FILE_DOLPHIN, Settings.SECTION_INI_CORE,
"OverrideRegionSettings", false), "OverrideRegionSettings", false),

View File

@ -650,6 +650,7 @@ public final class SettingsFragmentPresenter
private void addDebugSettings(ArrayList<SettingsItem> sl) private void addDebugSettings(ArrayList<SettingsItem> sl)
{ {
sl.add(new HeaderSetting(R.string.debug_warning, 0)); sl.add(new HeaderSetting(R.string.debug_warning, 0));
sl.add(new InvertedCheckBoxSetting(BooleanSetting.MAIN_FASTMEM, R.string.debug_fastmem, 0));
sl.add(new HeaderSetting(R.string.debug_jit_header, 0)); sl.add(new HeaderSetting(R.string.debug_jit_header, 0));
sl.add(new CheckBoxSetting(BooleanSetting.MAIN_JIT_OFF, R.string.debug_jitoff, 0)); sl.add(new CheckBoxSetting(BooleanSetting.MAIN_JIT_OFF, R.string.debug_jitoff, 0));

View File

@ -287,7 +287,8 @@
<!-- Debug --> <!-- Debug -->
<string name="debug_submenu">Debug</string> <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_jit_header">Jit</string>
<string name="debug_jitoff">Jit Disabled</string> <string name="debug_jitoff">Jit Disabled</string>
<string name="debug_jitloadstoreoff">Jit Load Store Disabled</string> <string name="debug_jitloadstoreoff">Jit Load Store Disabled</string>