Android: Add some missing settings to Hacks section of Graphics
This brings the available settings in the Hacks section in line with DolphinQt.
This commit is contained in:
parent
bc4d0b3ef8
commit
e2c8b3a317
|
@ -140,6 +140,8 @@ public enum BooleanSetting implements AbstractBooleanSetting
|
|||
"BackendMultithreading", false),
|
||||
GFX_WAIT_FOR_SHADERS_BEFORE_STARTING(Settings.FILE_GFX, Settings.SECTION_GFX_SETTINGS,
|
||||
"WaitForShadersBeforeStarting", false),
|
||||
GFX_SAVE_TEXTURE_CACHE_TO_STATE(Settings.FILE_GFX, Settings.SECTION_GFX_SETTINGS,
|
||||
"SaveTextureCacheToState", true),
|
||||
|
||||
GFX_ENHANCE_FORCE_FILTERING(Settings.FILE_GFX, Settings.SECTION_GFX_ENHANCEMENTS,
|
||||
"ForceFiltering", false),
|
||||
|
@ -154,6 +156,7 @@ public enum BooleanSetting implements AbstractBooleanSetting
|
|||
|
||||
GFX_HACK_EFB_ACCESS_ENABLE(Settings.FILE_GFX, Settings.SECTION_GFX_HACKS, "EFBAccessEnable",
|
||||
true),
|
||||
GFX_HACK_BBOX_ENABLE(Settings.FILE_GFX, Settings.SECTION_GFX_HACKS, "BBoxEnable", false),
|
||||
GFX_HACK_SKIP_EFB_COPY_TO_RAM(Settings.FILE_GFX, Settings.SECTION_GFX_HACKS,
|
||||
"EFBToTextureEnable", true),
|
||||
GFX_HACK_SKIP_XFB_COPY_TO_RAM(Settings.FILE_GFX, Settings.SECTION_GFX_HACKS,
|
||||
|
@ -166,6 +169,7 @@ public enum BooleanSetting implements AbstractBooleanSetting
|
|||
GFX_HACK_COPY_EFB_SCALED(Settings.FILE_GFX, Settings.SECTION_GFX_HACKS, "EFBScaledCopy", true),
|
||||
GFX_HACK_EFB_EMULATE_FORMAT_CHANGES(Settings.FILE_GFX, Settings.SECTION_GFX_HACKS,
|
||||
"EFBEmulateFormatChanges", false),
|
||||
GFX_HACK_VERTEX_ROUDING(Settings.FILE_GFX, Settings.SECTION_GFX_HACKS, "VertexRounding", false),
|
||||
|
||||
LOGGER_WRITE_TO_FILE(Settings.FILE_LOGGER, Settings.SECTION_LOGGER_OPTIONS, "WriteToFile", false),
|
||||
|
||||
|
|
|
@ -658,6 +658,12 @@ public final class SettingsFragmentPresenter
|
|||
sl.add(new HeaderSetting(R.string.other, 0));
|
||||
sl.add(new CheckBoxSetting(BooleanSetting.GFX_FAST_DEPTH_CALC, R.string.fast_depth_calculation,
|
||||
R.string.fast_depth_calculation_description));
|
||||
sl.add(new InvertedCheckBoxSetting(BooleanSetting.GFX_HACK_BBOX_ENABLE, R.string.disable_bbox,
|
||||
R.string.disable_bbox_description));
|
||||
sl.add(new CheckBoxSetting(BooleanSetting.GFX_HACK_VERTEX_ROUDING, R.string.vertex_rounding,
|
||||
R.string.vertex_rounding_description));
|
||||
sl.add(new CheckBoxSetting(BooleanSetting.GFX_SAVE_TEXTURE_CACHE_TO_STATE,
|
||||
R.string.texture_cache_to_state, R.string.texture_cache_to_state_description));
|
||||
}
|
||||
|
||||
private void addLogConfigurationSettings(ArrayList<SettingsItem> sl)
|
||||
|
|
|
@ -265,10 +265,14 @@
|
|||
<string name="immediate_xfb_description">Displays the XFB copies as soon as they are created, without waiting for scanout. Causes graphical defects in some games but reduces latency. If unsure, leave this unchecked.</string>
|
||||
<string name="skip_duplicate_xfbs">Skip Presenting Duplicate Frames</string>
|
||||
<string name="skip_duplicate_xfbs_description">Skips presentation of duplicate frames. This may improve performance on low-end devices, while making frame pacing less consistent. If unsure, leave this checked.</string>
|
||||
<string name="disable_destination_alpha">Disable Destination Alpha</string>
|
||||
<string name="disable_destination_alpha_description">Disables emulation of a hardware feature called destination alpha, which is used in many games for various effects.</string>
|
||||
<string name="fast_depth_calculation">Fast Depth Calculation</string>
|
||||
<string name="fast_depth_calculation_description">Uses a less accurate algorithm to calculate depth values.</string>
|
||||
<string name="fast_depth_calculation_description">Uses a less accurate algorithm to calculate depth values. Causes issues in a few games, but can result in a decent speed increase depending on the game and/or GPU. If unsure, leave this checked.</string>
|
||||
<string name="disable_bbox">Disable Bounding Box</string>
|
||||
<string name="disable_bbox_description">Disables bounding box emulation. This may improve GPU performance significantly, but some games will break. If unsure, leave this checked.</string>
|
||||
<string name="vertex_rounding">Vertex Rounding</string>
|
||||
<string name="vertex_rounding_description">Rounds 2D vertices to whole pixels. Fixes graphical problems in some games at higher internal resolutions. This setting has no effect when native internal resolution is used. If unsure, leave this unchecked.</string>
|
||||
<string name="texture_cache_to_state">Save Texture Cache to State</string>
|
||||
<string name="texture_cache_to_state_description">Includes the contents of the embedded frame buffer (EFB) and upscaled EFB copies in save states. Fixes missing and/or non-upscaled textures/objects when loading states at the cost of additional save/load time.</string>
|
||||
<string name="aspect_ratio">Aspect Ratio</string>
|
||||
<string name="aspect_ratio_description">Select what aspect ratio to use when rendering</string>
|
||||
<string name="shader_compilation_mode">Shader Compilation Mode</string>
|
||||
|
|
Loading…
Reference in New Issue