mirror of
https://github.com/RPCS3/rpcs3.git
synced 2026-04-03 11:28:07 -06:00
rsx/overlays: Add resolution scale threshold to home menu
This commit is contained in:
parent
91c136b6d0
commit
b57390d3cd
@ -153,6 +153,7 @@ namespace rsx
|
||||
: home_menu_settings_page(x, y, width, height, use_separators, parent, get_localized_string(localized_string_id::HOME_MENU_SETTINGS_VIDEO))
|
||||
{
|
||||
add_unsigned_slider(&g_cfg.video.resolution_scale_percent, localized_string_id::HOME_MENU_SETTINGS_VIDEO_RESOLUTION_SCALE_PERCENT, "%", 25);
|
||||
add_unsigned_slider(&g_cfg.video.min_scalable_dimension, localized_string_id::HOME_MENU_SETTINGS_VIDEO_RESOLUTION_SCALE_THRESHOLD, "px", 1);
|
||||
|
||||
add_dropdown(&g_cfg.video.vsync, localized_string_id::HOME_MENU_SETTINGS_VIDEO_VSYNC);
|
||||
|
||||
|
||||
@ -223,6 +223,7 @@ enum class localized_string_id
|
||||
HOME_MENU_SETTINGS_VIDEO_OUTPUT_SCALING,
|
||||
HOME_MENU_SETTINGS_VIDEO_RCAS_SHARPENING,
|
||||
HOME_MENU_SETTINGS_VIDEO_RESOLUTION_SCALE_PERCENT,
|
||||
HOME_MENU_SETTINGS_VIDEO_RESOLUTION_SCALE_THRESHOLD,
|
||||
HOME_MENU_SETTINGS_VIDEO_STRETCH_TO_DISPLAY,
|
||||
HOME_MENU_SETTINGS_VIDEO_STEREO_MODE,
|
||||
HOME_MENU_SETTINGS_INPUT,
|
||||
|
||||
@ -164,7 +164,7 @@ struct cfg_root : cfg::node
|
||||
cfg::uint<25, 800> resolution_scale_percent{ this, "Resolution Scale", 100, true };
|
||||
cfg::uint<0, 16> anisotropic_level_override{ this, "Anisotropic Filter Override", 0, true };
|
||||
cfg::_float<-32, 32> texture_lod_bias{ this, "Texture LOD Bias Addend", 0, true };
|
||||
cfg::_int<1, 1024> min_scalable_dimension{ this, "Minimum Scalable Dimension", 16 };
|
||||
cfg::uint<1, 1024> min_scalable_dimension{ this, "Minimum Scalable Dimension", 16, true };
|
||||
cfg::_int<0, 16> shader_compiler_threads_count{ this, "Shader Compiler Threads", 0 };
|
||||
cfg::_int<0, 30000000> driver_recovery_timeout{ this, "Driver Recovery Timeout", 1000000, true };
|
||||
cfg::uint<0, 16667> driver_wakeup_delay{ this, "Driver Wake-Up Delay", 0, true };
|
||||
|
||||
@ -243,6 +243,7 @@ private:
|
||||
case localized_string_id::HOME_MENU_SETTINGS_VIDEO_OUTPUT_SCALING: return tr("Output Scaling", "Video");
|
||||
case localized_string_id::HOME_MENU_SETTINGS_VIDEO_RCAS_SHARPENING: return tr("FidelityFX CAS Sharpening Intensity", "Video");
|
||||
case localized_string_id::HOME_MENU_SETTINGS_VIDEO_RESOLUTION_SCALE_PERCENT: return tr("Resolution Scale", "Video");
|
||||
case localized_string_id::HOME_MENU_SETTINGS_VIDEO_RESOLUTION_SCALE_THRESHOLD: return tr("Resolution Scale Threshold", "Video");
|
||||
case localized_string_id::HOME_MENU_SETTINGS_VIDEO_STRETCH_TO_DISPLAY: return tr("Stretch To Display Area", "Video");
|
||||
case localized_string_id::HOME_MENU_SETTINGS_VIDEO_STEREO_MODE: return tr("Stereo Mode", "Video");
|
||||
case localized_string_id::HOME_MENU_SETTINGS_INPUT: return tr("Input");
|
||||
|
||||
Loading…
Reference in New Issue
Block a user