From e9da2a48324191421fd29325820e9b50fa8bcd7e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joshua=20Vanda=C3=ABle?= Date: Sun, 11 Jan 2026 21:48:03 +0100 Subject: Settings: Simplify debug mode We now just pass a signal to tell the UI that hardcore mode has been turned on/off, and we replace Settings::IsDebugModeEnabled with Config::IsDebuggingEnabled, which always returns false if hardcore is on. --- Source/Core/DolphinQt/Debugger/RegisterWidget.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Source/Core/DolphinQt/Debugger/RegisterWidget.cpp') diff --git a/Source/Core/DolphinQt/Debugger/RegisterWidget.cpp b/Source/Core/DolphinQt/Debugger/RegisterWidget.cpp index 4f391f4698..ed904e9e20 100644 --- a/Source/Core/DolphinQt/Debugger/RegisterWidget.cpp +++ b/Source/Core/DolphinQt/Debugger/RegisterWidget.cpp @@ -29,8 +29,7 @@ RegisterWidget::RegisterWidget(QWidget* parent) setWindowTitle(tr("Registers")); setObjectName(QStringLiteral("registers")); - setHidden(!Settings::Instance().IsRegistersVisible() || - !Settings::Instance().IsDebugModeEnabled()); + setHidden(!Settings::Instance().IsRegistersVisible() || !Config::IsDebuggingEnabled()); setAllowedAreas(Qt::AllDockWidgetAreas); -- cgit v1.2.3