mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
Core/Jits: Adds an option to disable the register cache.
This will help to disable all inter-instruction dependencies. So android users can check if only a single instruction is broken without compiling dolphin on their own.
This commit is contained in:
@ -640,6 +640,8 @@ public final class SettingsFragmentPresenter
|
||||
Setting jitSystemRegistersOff =
|
||||
debugSection.getSetting(SettingsFile.KEY_DEBUG_JITSYSTEMREGISTEROFF);
|
||||
Setting jitBranchOff = debugSection.getSetting(SettingsFile.KEY_DEBUG_JITBRANCHOFF);
|
||||
Setting jitRegisterCacheOff =
|
||||
debugSection.getSetting(SettingsFile.KEY_DEBUG_JITREGISTERCACHEOFF);
|
||||
|
||||
sl.add(new HeaderSetting(null, null, R.string.debug_warning, 0));
|
||||
|
||||
@ -672,6 +674,9 @@ public final class SettingsFragmentPresenter
|
||||
sl.add(new CheckBoxSetting(SettingsFile.KEY_DEBUG_JITBRANCHOFF, Settings.SECTION_DEBUG,
|
||||
R.string.debug_jitbranchoff, 0, false,
|
||||
jitBranchOff));
|
||||
sl.add(new CheckBoxSetting(SettingsFile.KEY_DEBUG_JITREGISTERCACHEOFF, Settings.SECTION_DEBUG,
|
||||
R.string.debug_jitregistercacheoff, 0, false,
|
||||
jitRegisterCacheOff));
|
||||
}
|
||||
|
||||
private void addStereoSettings(ArrayList<SettingsItem> sl)
|
||||
|
@ -102,6 +102,7 @@ public final class SettingsFile
|
||||
public static final String KEY_DEBUG_JITPAIREDOFF = "JitPairedOff";
|
||||
public static final String KEY_DEBUG_JITSYSTEMREGISTEROFF = "JitSystemRegistersOff";
|
||||
public static final String KEY_DEBUG_JITBRANCHOFF = "JitBranchOff";
|
||||
public static final String KEY_DEBUG_JITREGISTERCACHEOFF = "JitRegisterCacheOff";
|
||||
|
||||
public static final String KEY_GCPAD_TYPE = "SIDevice";
|
||||
public static final String KEY_GCPAD_G_TYPE = "PadType";
|
||||
|
@ -254,6 +254,7 @@
|
||||
<string name="debug_jitpairedoff">Jit Paired Disabled</string>
|
||||
<string name="debug_jitsystemregistersoffr">Jit System Registers Disabled</string>
|
||||
<string name="debug_jitbranchoff">Jit Branch Disabled</string>
|
||||
<string name="debug_jitregistercacheoff">Jit Register Cache Disabled</string>
|
||||
|
||||
<!-- Miscellaneous -->
|
||||
<string name="yes">Yes</string>
|
||||
|
Reference in New Issue
Block a user