diff options
| author | LillyJadeKatrin <lilly.kitty.1988@gmail.com> | 2025-04-23 22:57:35 -0400 |
|---|---|---|
| committer | LillyJadeKatrin <lilly.kitty.1988@gmail.com> | 2025-04-23 22:57:35 -0400 |
| commit | 022bc3bf8daba28ac75cd674c7721160be7a931f (patch) | |
| tree | eef2c471bd7bde4b566351d75fe04ac80bac4386 /Source/Core/DolphinQt/MainWindow.cpp | |
| parent | c0c180bdc21cd9fe7374df3f83db57cdf8f5c492 (diff) | |
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.
Diffstat (limited to 'Source/Core/DolphinQt/MainWindow.cpp')
| -rw-r--r-- | Source/Core/DolphinQt/MainWindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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())); } |
