System: Don't add to the pause timer when we're already paused

This commit is contained in:
Stenzek
2025-10-18 16:32:15 +10:00
parent 983cde33bc
commit b1cd5625f2

View File

@@ -1681,6 +1681,10 @@ void System::PauseSystem(bool paused)
bool System::CanPauseSystem(bool display_message)
{
// Don't add to the pause timer when we're already paused.
if (IsPaused())
return true;
const u32 frames_until_pause_allowed = Achievements::GetPauseThrottleFrames();
if (frames_until_pause_allowed == 0)
return true;