From 7a36d5373a54890a124cced96762164f1c0e4889 Mon Sep 17 00:00:00 2001 From: "Admiral H. Curtiss" Date: Sun, 14 Jul 2024 23:03:24 +0200 Subject: [PATCH] AchievementManager: Improve error message for repeated pausing --- Source/Core/Core/AchievementManager.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Source/Core/Core/AchievementManager.cpp b/Source/Core/Core/AchievementManager.cpp index 38aa5ea132..c203af7a56 100644 --- a/Source/Core/Core/AchievementManager.cpp +++ b/Source/Core/Core/AchievementManager.cpp @@ -295,10 +295,9 @@ bool AchievementManager::CanPause() bool can_pause = rc_client_can_pause(m_client, &frames_to_next_pause); if (!can_pause) { - OSD::AddMessage("Cannot spam pausing in hardcore mode.", OSD::Duration::VERY_LONG, - OSD::Color::RED); OSD::AddMessage( - fmt::format("Can pause in {} seconds.", + fmt::format("RetroAchievements Hardcore Mode:\n" + "Cannot pause until another {:.2f} seconds have passed.", static_cast(frames_to_next_pause) / Core::System::GetInstance().GetVideoInterface().GetTargetRefreshRate()), OSD::Duration::VERY_LONG, OSD::Color::RED);