diff options
| author | 2023-05-02 19:22:54 -0400 | |
|---|---|---|
| committer | 2023-05-02 21:52:43 -0400 | |
| commit | 35e7f36a39775c48ba2c8ed6b5a52dcbbe381a19 (patch) | |
| tree | c9179c0d6a851807d0c0df33e180f210cd1928ec /src | |
| parent | configure_input_player: Add missing include (diff) | |
| download | yuzu-35e7f36a39775c48ba2c8ed6b5a52dcbbe381a19.tar.gz yuzu-35e7f36a39775c48ba2c8ed6b5a52dcbbe381a19.tar.xz yuzu-35e7f36a39775c48ba2c8ed6b5a52dcbbe381a19.zip | |
configure_graphics: No there isn't a hyphen in VSync
Most sources seem to suggest VSync and not V-Sync
Diffstat (limited to 'src')
| -rw-r--r-- | src/yuzu/configuration/configure_graphics.cpp | 6 | ||||
| -rw-r--r-- | src/yuzu/configuration/configure_graphics.ui | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/yuzu/configuration/configure_graphics.cpp b/src/yuzu/configuration/configure_graphics.cpp index 4a4a7bb0b..6f5bc8d90 100644 --- a/src/yuzu/configuration/configure_graphics.cpp +++ b/src/yuzu/configuration/configure_graphics.cpp | |||
| @@ -272,7 +272,7 @@ void ConfigureGraphics::SetConfiguration() { | |||
| 272 | PopulateVSyncModeSelection(); //< must happen after UpdateAPILayout | 272 | PopulateVSyncModeSelection(); //< must happen after UpdateAPILayout |
| 273 | SetFSRIndicatorText(ui->fsr_sharpening_slider->sliderPosition()); | 273 | SetFSRIndicatorText(ui->fsr_sharpening_slider->sliderPosition()); |
| 274 | 274 | ||
| 275 | // V-Sync setting needs to be determined after populating the V-Sync combobox | 275 | // VSync setting needs to be determined after populating the VSync combobox |
| 276 | if (Settings::IsConfiguringGlobal()) { | 276 | if (Settings::IsConfiguringGlobal()) { |
| 277 | const auto vsync_mode_setting = Settings::values.vsync_mode.GetValue(); | 277 | const auto vsync_mode_setting = Settings::values.vsync_mode.GetValue(); |
| 278 | const auto vsync_mode = VSyncSettingToMode(vsync_mode_setting); | 278 | const auto vsync_mode = VSyncSettingToMode(vsync_mode_setting); |
| @@ -300,13 +300,13 @@ const QString ConfigureGraphics::TranslateVSyncMode(VkPresentModeKHR mode, | |||
| 300 | case VK_PRESENT_MODE_IMMEDIATE_KHR: | 300 | case VK_PRESENT_MODE_IMMEDIATE_KHR: |
| 301 | return backend == Settings::RendererBackend::OpenGL | 301 | return backend == Settings::RendererBackend::OpenGL |
| 302 | ? tr("Off") | 302 | ? tr("Off") |
| 303 | : QStringLiteral("Immediate (%1)").arg(tr("V-Sync Off")); | 303 | : QStringLiteral("Immediate (%1)").arg(tr("VSync Off")); |
| 304 | case VK_PRESENT_MODE_MAILBOX_KHR: | 304 | case VK_PRESENT_MODE_MAILBOX_KHR: |
| 305 | return QStringLiteral("Mailbox (%1)").arg(tr("Recommended")); | 305 | return QStringLiteral("Mailbox (%1)").arg(tr("Recommended")); |
| 306 | case VK_PRESENT_MODE_FIFO_KHR: | 306 | case VK_PRESENT_MODE_FIFO_KHR: |
| 307 | return backend == Settings::RendererBackend::OpenGL | 307 | return backend == Settings::RendererBackend::OpenGL |
| 308 | ? tr("On") | 308 | ? tr("On") |
| 309 | : QStringLiteral("FIFO (%1)").arg(tr("V-Sync On")); | 309 | : QStringLiteral("FIFO (%1)").arg(tr("VSync On")); |
| 310 | case VK_PRESENT_MODE_FIFO_RELAXED_KHR: | 310 | case VK_PRESENT_MODE_FIFO_RELAXED_KHR: |
| 311 | return QStringLiteral("FIFO Relaxed"); | 311 | return QStringLiteral("FIFO Relaxed"); |
| 312 | default: | 312 | default: |
diff --git a/src/yuzu/configuration/configure_graphics.ui b/src/yuzu/configuration/configure_graphics.ui index 94eba6c7e..39f70e406 100644 --- a/src/yuzu/configuration/configure_graphics.ui +++ b/src/yuzu/configuration/configure_graphics.ui | |||
| @@ -206,14 +206,14 @@ | |||
| 206 | <item> | 206 | <item> |
| 207 | <widget class="QLabel" name="vsync_mode_label"> | 207 | <widget class="QLabel" name="vsync_mode_label"> |
| 208 | <property name="text"> | 208 | <property name="text"> |
| 209 | <string>V-Sync Mode:</string> | 209 | <string>VSync Mode:</string> |
| 210 | </property> | 210 | </property> |
| 211 | </widget> | 211 | </widget> |
| 212 | </item> | 212 | </item> |
| 213 | <item> | 213 | <item> |
| 214 | <widget class="QComboBox" name="vsync_mode_combobox"> | 214 | <widget class="QComboBox" name="vsync_mode_combobox"> |
| 215 | <property name="toolTip"> | 215 | <property name="toolTip"> |
| 216 | <string>FIFO (V-Sync) does not drop frames or exhibit tearing but is limited by the screen refresh rate. | 216 | <string>FIFO (VSync) does not drop frames or exhibit tearing but is limited by the screen refresh rate. |
| 217 | FIFO Relaxed is similar to FIFO but allows tearing as it recovers from a slow down. | 217 | FIFO Relaxed is similar to FIFO but allows tearing as it recovers from a slow down. |
| 218 | Mailbox can have lower latency than FIFO and does not tear but may drop frames. | 218 | Mailbox can have lower latency than FIFO and does not tear but may drop frames. |
| 219 | Immediate (no synchronization) just presents whatever is available and can exhibit tearing.</string> | 219 | Immediate (no synchronization) just presents whatever is available and can exhibit tearing.</string> |