Always allow pausing if game not loaded

RetroAchievements disables pausing too frequently when running but there's no sense of doing this if RetroAchievements does not currently have a game running.
This commit is contained in:
LillyJadeKatrin 2025-04-21 22:38:09 -04:00
parent 4f210df86a
commit d670c21c8e

View file

@ -314,6 +314,8 @@ void AchievementManager::DoFrame()
bool AchievementManager::CanPause()
{
if (!IsGameLoaded())
return true;
u32 frames_to_next_pause = 0;
bool can_pause = rc_client_can_pause(m_client, &frames_to_next_pause);
if (!can_pause)