diff options
Diffstat (limited to 'src/common/settings.cpp')
| -rw-r--r-- | src/common/settings.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/common/settings.cpp b/src/common/settings.cpp index bc2c8c7d7..84ac937e5 100644 --- a/src/common/settings.cpp +++ b/src/common/settings.cpp | |||
| @@ -116,6 +116,11 @@ void UpdateRescalingInfo() { | |||
| 116 | info.down_shift = 1; | 116 | info.down_shift = 1; |
| 117 | info.downscale = true; | 117 | info.downscale = true; |
| 118 | break; | 118 | break; |
| 119 | case ResolutionSetup::Res3_4X: | ||
| 120 | info.up_scale = 3; | ||
| 121 | info.down_shift = 2; | ||
| 122 | info.downscale = true; | ||
| 123 | break; | ||
| 119 | case ResolutionSetup::Res1X: | 124 | case ResolutionSetup::Res1X: |
| 120 | info.up_scale = 1; | 125 | info.up_scale = 1; |
| 121 | info.down_shift = 0; | 126 | info.down_shift = 0; |
| @@ -132,6 +137,14 @@ void UpdateRescalingInfo() { | |||
| 132 | info.up_scale = 4; | 137 | info.up_scale = 4; |
| 133 | info.down_shift = 0; | 138 | info.down_shift = 0; |
| 134 | break; | 139 | break; |
| 140 | case ResolutionSetup::Res5X: | ||
| 141 | info.up_scale = 5; | ||
| 142 | info.down_shift = 0; | ||
| 143 | break; | ||
| 144 | case ResolutionSetup::Res6X: | ||
| 145 | info.up_scale = 6; | ||
| 146 | info.down_shift = 0; | ||
| 147 | break; | ||
| 135 | default: | 148 | default: |
| 136 | UNREACHABLE(); | 149 | UNREACHABLE(); |
| 137 | info.up_scale = 1; | 150 | info.up_scale = 1; |