Android: Add defer EFB copies to settings
This commit is contained in:
parent
66b6e72c5e
commit
71e3bc40a3
|
@ -559,6 +559,7 @@ public final class SettingsFragmentPresenter
|
|||
new BooleanSetting(SettingsFile.KEY_IGNORE_FORMAT, Settings.SECTION_GFX_HACKS,
|
||||
ignoreFormatValue);
|
||||
Setting efbToTexture = hacksSection.getSetting(SettingsFile.KEY_EFB_TEXTURE);
|
||||
Setting deferEfbCopies = hacksSection.getSetting(SettingsFile.KEY_DEFER_EFB_COPIES);
|
||||
Setting texCacheAccuracy = gfxSection.getSetting(SettingsFile.KEY_TEXCACHE_ACCURACY);
|
||||
Setting gpuTextureDecoding = gfxSection.getSetting(SettingsFile.KEY_GPU_TEXTURE_DECODING);
|
||||
Setting xfbToTexture = hacksSection.getSetting(SettingsFile.KEY_XFB_TEXTURE);
|
||||
|
@ -573,6 +574,9 @@ public final class SettingsFragmentPresenter
|
|||
ignoreFormat));
|
||||
sl.add(new CheckBoxSetting(SettingsFile.KEY_EFB_TEXTURE, Settings.SECTION_GFX_HACKS,
|
||||
R.string.efb_copy_method, R.string.efb_copy_method_description, true, efbToTexture));
|
||||
sl.add(new CheckBoxSetting(SettingsFile.KEY_DEFER_EFB_COPIES, Settings.SECTION_GFX_HACKS,
|
||||
R.string.defer_efb_copies, R.string.defer_efb_copies_description, true,
|
||||
deferEfbCopies));
|
||||
|
||||
sl.add(new HeaderSetting(null, null, R.string.texture_cache, 0));
|
||||
sl.add(new SingleChoiceSetting(SettingsFile.KEY_TEXCACHE_ACCURACY,
|
||||
|
|
|
@ -80,6 +80,7 @@ public final class SettingsFile
|
|||
public static final String KEY_SKIP_EFB = "EFBAccessEnable";
|
||||
public static final String KEY_IGNORE_FORMAT = "EFBEmulateFormatChanges";
|
||||
public static final String KEY_EFB_TEXTURE = "EFBToTextureEnable";
|
||||
public static final String KEY_DEFER_EFB_COPIES = "DeferEFBCopies";
|
||||
public static final String KEY_TEXCACHE_ACCURACY = "SafeTextureCacheColorSamples";
|
||||
public static final String KEY_GPU_TEXTURE_DECODING = "EnableGPUTextureDecoding";
|
||||
public static final String KEY_XFB_TEXTURE = "XFBToTextureEnable";
|
||||
|
|
|
@ -207,6 +207,8 @@
|
|||
<string name="ignore_format_changes_description">Ignore any changes to the EFB format.</string>
|
||||
<string name="efb_copy_method">Store EFB Copies to Texture Only</string>
|
||||
<string name="efb_copy_method_description">Stores EFB Copies exclusively on the GPU, bypassing system memory. Causes graphical defects in a small number of games. If unsure, leave this checked.</string>
|
||||
<string name="defer_efb_copies">Defer EFB Copies to RAM</string>
|
||||
<string name="defer_efb_copies_description">Waits until the game synchronizes with the emulated GPU before writing the contents of EFB copies to RAM. May result in faster performance. If unsure, leave this unchecked.</string>
|
||||
<string name="texture_cache">Texture Cache</string>
|
||||
<string name="texture_cache_accuracy">Texture Cache Accuracy</string>
|
||||
<string name="texture_cache_accuracy_description">The safer the selection, the less likely the emulator will be missing any texture updates from RAM.</string>
|
||||
|
|
Loading…
Reference in New Issue