From 0eb740a0aa09f80d25857390aa6c41c347683ffe Mon Sep 17 00:00:00 2001 From: Connor McLaughlin Date: Wed, 1 Apr 2020 14:50:27 +1000 Subject: [PATCH] Qt: Add CDROM Enable Region Check option --- src/duckstation-qt/consolesettingswidget.cpp | 1 + src/duckstation-qt/consolesettingswidget.ui | 7 +++++++ 2 files changed, 8 insertions(+) diff --git a/src/duckstation-qt/consolesettingswidget.cpp b/src/duckstation-qt/consolesettingswidget.cpp index 0f5bf0ce7..e079c97ee 100644 --- a/src/duckstation-qt/consolesettingswidget.cpp +++ b/src/duckstation-qt/consolesettingswidget.cpp @@ -23,6 +23,7 @@ ConsoleSettingsWidget::ConsoleSettingsWidget(QtHostInterface* host_interface, QW SettingWidgetBinder::BindWidgetToEnumSetting(m_host_interface, m_ui.cpuExecutionMode, "CPU/ExecutionMode", &Settings::ParseCPUExecutionMode, &Settings::GetCPUExecutionModeName); SettingWidgetBinder::BindWidgetToBoolSetting(m_host_interface, m_ui.cdromReadThread, "CDROM/ReadThread"); + SettingWidgetBinder::BindWidgetToBoolSetting(m_host_interface, m_ui.cdromRegionCheck, "CDROM/RegionCheck"); connect(m_ui.biosPathBrowse, &QPushButton::pressed, this, &ConsoleSettingsWidget::onBrowseBIOSPathButtonClicked); } diff --git a/src/duckstation-qt/consolesettingswidget.ui b/src/duckstation-qt/consolesettingswidget.ui index bae6d6c50..bea393704 100644 --- a/src/duckstation-qt/consolesettingswidget.ui +++ b/src/duckstation-qt/consolesettingswidget.ui @@ -112,6 +112,13 @@ + + + + Enable Region Check + + +