From 022bc3bf8daba28ac75cd674c7721160be7a931f Mon Sep 17 00:00:00 2001 From: LillyJadeKatrin Date: Wed, 23 Apr 2025 22:57:35 -0400 Subject: [PATCH] Fix debugger disabled bug Fixing an oversight: this was causing the debugger to be disabled if achievements were disabled but hardcore mode was still enabled in the .ini. This fix properly checks for hardcore state via AchievementManager which takes both settings into account. --- Source/Core/DolphinQt/MainWindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/DolphinQt/MainWindow.cpp b/Source/Core/DolphinQt/MainWindow.cpp index 09f2681f94..8a766dc6b7 100644 --- a/Source/Core/DolphinQt/MainWindow.cpp +++ b/Source/Core/DolphinQt/MainWindow.cpp @@ -2020,7 +2020,7 @@ void MainWindow::ShowAchievementSettings() void MainWindow::OnHardcoreChanged() { - if (Config::Get(Config::RA_HARDCORE_ENABLED)) + if (AchievementManager::GetInstance().IsHardcoreModeActive()) Settings::Instance().SetDebugModeEnabled(false); emit Settings::Instance().EmulationStateChanged(Core::GetState(Core::System::GetInstance())); }