summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorJoshua Vandaƫle <joshua@vandaele.software>2026-11-18 03:15:01 +0100
committerJoshua Vandaƫle <joshua@vandaele.software>2026-11-18 03:22:48 +0100
commitf9fcde943cbc75fd2d088d78217331e1ad67655a (patch)
tree0f0963b3544dc7291e752f98abf01e42a50dcc72 /Source/Core
parent5140482a6f0e59bec1fbe843163f280ed4a2f29c (diff)
InterfacePane: Fix regressions introduced in #14760
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/DolphinQt/Settings/InterfacePane.cpp10
1 files changed, 7 insertions, 3 deletions
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."
"<br><br><dolphin_emphasis>If unsure, leave this unchecked.</dolphin_emphasis>");
static constexpr char TR_DISABLED_HARDCORE_MODE[] = QT_TR_NOOP(
- "<br><br><dolphin_emphasis>Disabled in RetroAchivements Hardcore Mode.</dolphin_emphasis>");
+ "<br><br><dolphin_emphasis>Disabled in RetroAchievements Hardcore Mode.</dolphin_emphasis>");
if (enabled)
{