diff options
Diffstat (limited to 'src/common/settings.h')
| -rw-r--r-- | src/common/settings.h | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/src/common/settings.h b/src/common/settings.h index ca88c086b..f629c7c56 100644 --- a/src/common/settings.h +++ b/src/common/settings.h | |||
| @@ -54,12 +54,16 @@ enum class NvdecEmulation : u32 { | |||
| 54 | 54 | ||
| 55 | enum class ResolutionSetup : u32 { | 55 | enum class ResolutionSetup : u32 { |
| 56 | Res1_2X = 0, | 56 | Res1_2X = 0, |
| 57 | Res3_4X = 1, | 57 | Res1X = 1, |
| 58 | Res1X = 2, | 58 | Res2X = 2, |
| 59 | Res3_2X = 3, | 59 | Res3X = 3, |
| 60 | Res2X = 4, | 60 | Res4X = 4, |
| 61 | Res3X = 5, | 61 | }; |
| 62 | Res4X = 6, | 62 | |
| 63 | enum class ScalingFilter : u32 { | ||
| 64 | Bilinear = 0, | ||
| 65 | Bicubic = 1, | ||
| 66 | ScaleForce = 2, | ||
| 63 | }; | 67 | }; |
| 64 | 68 | ||
| 65 | struct ResolutionScalingInfo { | 69 | struct ResolutionScalingInfo { |
| @@ -471,6 +475,7 @@ struct Values { | |||
| 471 | 475 | ||
| 472 | ResolutionScalingInfo resolution_info{}; | 476 | ResolutionScalingInfo resolution_info{}; |
| 473 | Setting<ResolutionSetup> resolution_setup{ResolutionSetup::Res1X, "resolution_setup"}; | 477 | Setting<ResolutionSetup> resolution_setup{ResolutionSetup::Res1X, "resolution_setup"}; |
| 478 | Setting<ScalingFilter> scaling_filter{ScalingFilter::Bilinear, "scaling_filter"}; | ||
| 474 | // *nix platforms may have issues with the borderless windowed fullscreen mode. | 479 | // *nix platforms may have issues with the borderless windowed fullscreen mode. |
| 475 | // Default to exclusive fullscreen on these platforms for now. | 480 | // Default to exclusive fullscreen on these platforms for now. |
| 476 | RangedSetting<FullscreenMode> fullscreen_mode{ | 481 | RangedSetting<FullscreenMode> fullscreen_mode{ |