From e21ae90073eb102b4a42ebf6d959dc73d762526e Mon Sep 17 00:00:00 2001 From: Dentomologist Date: Tue, 17 Jun 2025 12:21:39 -0700 Subject: [PATCH] MainWindow: Show hardcore mode error for recording playback Show an error message when attempting to play an input recording while RetroAchievements hardcore mode is active, instead of silently doing nothing. --- Source/Core/DolphinQt/MainWindow.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Source/Core/DolphinQt/MainWindow.cpp b/Source/Core/DolphinQt/MainWindow.cpp index c26c6a3f6f..891d11c094 100644 --- a/Source/Core/DolphinQt/MainWindow.cpp +++ b/Source/Core/DolphinQt/MainWindow.cpp @@ -1849,6 +1849,14 @@ void MainWindow::OnImportNANDBackup() void MainWindow::OnPlayRecording() { + if (AchievementManager::GetInstance().IsHardcoreModeActive()) + { + ModalMessageBox::critical( + this, tr("Error"), + tr("Playback of input recordings is disabled in RetroAchievements hardcore mode.")); + return; + } + QString dtm_file = DolphinFileDialog::getOpenFileName( this, tr("Select the Recording File to Play"), QString(), tr("Dolphin TAS Movies (*.dtm)"));