mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-24 14:24:54 +00:00
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:
parent
4f210df86a
commit
d670c21c8e
1 changed files with 2 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue