From f9fcde943cbc75fd2d088d78217331e1ad67655a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joshua=20Vanda=C3=ABle?= Date: Wed, 18 Nov 2026 03:15:01 +0100 Subject: InterfacePane: Fix regressions introduced in #14760 --- Source/Core/DolphinQt/Settings/InterfacePane.cpp | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'Source/Core/DolphinQt/Settings/InterfacePane.cpp') diff --git a/Source/Core/DolphinQt/Settings/InterfacePane.cpp b/Source/Core/DolphinQt/Settings/InterfacePane.cpp index 647aebd13d..350a6e37e6 100644 --- a/Source/Core/DolphinQt/Settings/InterfacePane.cpp +++ b/Source/Core/DolphinQt/Settings/InterfacePane.cpp @@ -98,8 +98,12 @@ InterfacePane::InterfacePane(QWidget* parent) : QWidget(parent) &InterfacePane::OnHardcoreModeChanged); OnEmulationStateChanged(Core::GetState(Core::System::GetInstance())); - OnHardcoreModeChanged(Config::Get(Config::RA_ENABLED) && - Config::Get(Config::RA_HARDCORE_ENABLED)); + + bool hardcore = false; +#ifdef USE_RETRO_ACHIEVEMENTS + hardcore = Config::Get(Config::RA_ENABLED) && Config::Get(Config::RA_HARDCORE_ENABLED); +#endif + OnHardcoreModeChanged(hardcore); } void InterfacePane::CreateLayout() @@ -314,7 +318,7 @@ void InterfacePane::OnHardcoreModeChanged(bool enabled) "memory contents, set debugging breakpoints, examine network requests, and more." "

If unsure, leave this unchecked."); static constexpr char TR_DISABLED_HARDCORE_MODE[] = QT_TR_NOOP( - "

Disabled in RetroAchivements Hardcore Mode."); + "

Disabled in RetroAchievements Hardcore Mode."); if (enabled) { -- cgit v1.2.3