summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinQt/MainWindow.cpp
diff options
context:
space:
mode:
authorJosJuice <josjuice@gmail.com>2026-11-16 20:38:01 +0100
committerGitHub <noreply@github.com>2026-11-16 20:38:01 +0100
commit0a6ed419eb85d6b9717f0d41719dd3c7bca29a2f (patch)
treee08dc25bd52fac0a63f76f42787ee00e585b68ac /Source/Core/DolphinQt/MainWindow.cpp
parentd5a4f48d9b852d26db045831009759e79e508034 (diff)
parente9da2a48324191421fd29325820e9b50fa8bcd7e (diff)
Merge pull request #14760 from JoshuaVandaele/hardcore-state
Settings: Simplify debug mode
Diffstat (limited to 'Source/Core/DolphinQt/MainWindow.cpp')
-rw-r--r--Source/Core/DolphinQt/MainWindow.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/Source/Core/DolphinQt/MainWindow.cpp b/Source/Core/DolphinQt/MainWindow.cpp
index 7905402013..64a166efba 100644
--- a/Source/Core/DolphinQt/MainWindow.cpp
+++ b/Source/Core/DolphinQt/MainWindow.cpp
@@ -263,8 +263,6 @@ MainWindow::MainWindow(Core::System& system, std::unique_ptr<BootParameters> boo
#ifdef USE_RETRO_ACHIEVEMENTS
AchievementManager::GetInstance().Init(reinterpret_cast<void*>(winId()));
- if (AchievementManager::GetInstance().IsHardcoreModeActive())
- Settings::Instance().SetDebugModeEnabled(false);
// This needs to trigger on both RA_HARDCORE_ENABLED and RA_ENABLED
m_config_changed_callback_id = Config::AddConfigChangedCallback(
[this] { QueueOnObject(this, [this] { this->OnHardcoreChanged(); }); });
@@ -2085,8 +2083,6 @@ void MainWindow::ShowAchievementSettings()
void MainWindow::OnHardcoreChanged()
{
bool hardcore_active = AchievementManager::GetInstance().IsHardcoreModeActive();
- if (hardcore_active)
- Settings::Instance().SetDebugModeEnabled(false);
// EmulationStateChanged causes several dialogs to redraw, including anything affected by hardcore
// mode. Every dialog that depends on hardcore mode is redrawn by EmulationStateChanged.
if (hardcore_active != m_former_hardcore_setting)