From 899a8e0f039a07e4d5f084ab456de0b32d4ae9e5 Mon Sep 17 00:00:00 2001 From: Connor McLaughlin Date: Sun, 2 Feb 2020 00:22:14 +1000 Subject: [PATCH] Qt: Add "Use Debug Device" to GPU settings --- src/duckstation-qt/gpusettingswidget.cpp | 1 + src/duckstation-qt/gpusettingswidget.ui | 17 ++++++++++++----- 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/src/duckstation-qt/gpusettingswidget.cpp b/src/duckstation-qt/gpusettingswidget.cpp index 41da423dd..b75c533f3 100644 --- a/src/duckstation-qt/gpusettingswidget.cpp +++ b/src/duckstation-qt/gpusettingswidget.cpp @@ -19,6 +19,7 @@ GPUSettingsWidget::GPUSettingsWidget(QtHostInterface* host_interface, QWidget* p SettingWidgetBinder::BindWidgetToBoolSetting(m_host_interface, m_ui.trueColor, "GPU/TrueColor"); SettingWidgetBinder::BindWidgetToBoolSetting(m_host_interface, m_ui.linearTextureFiltering, "GPU/TextureFiltering"); SettingWidgetBinder::BindWidgetToBoolSetting(m_host_interface, m_ui.forceProgressiveScan, "GPU/ForceProgressiveScan"); + SettingWidgetBinder::BindWidgetToBoolSetting(m_host_interface, m_ui.useDebugDevice, "GPU/UseDebugDevice"); } GPUSettingsWidget::~GPUSettingsWidget() = default; diff --git a/src/duckstation-qt/gpusettingswidget.ui b/src/duckstation-qt/gpusettingswidget.ui index 09099e829..81ee0cf7d 100644 --- a/src/duckstation-qt/gpusettingswidget.ui +++ b/src/duckstation-qt/gpusettingswidget.ui @@ -6,8 +6,8 @@ 0 0 - 1350 - 788 + 448 + 307 @@ -42,10 +42,10 @@ - - + + - Fullscreen + Use Debug Device @@ -63,6 +63,13 @@ + + + + Fullscreen + + +