mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-22 10:19:01 +00:00
Merge pull request #13557 from LillyJadeKatrin/pause-bugfix
AchievementManager: Always allow pausing if game not loaded
This commit is contained in:
commit
12010ebf78
1 changed files with 2 additions and 0 deletions
|
@ -348,6 +348,8 @@ void AchievementManager::DoFrame()
|
||||||
|
|
||||||
bool AchievementManager::CanPause()
|
bool AchievementManager::CanPause()
|
||||||
{
|
{
|
||||||
|
if (!IsGameLoaded())
|
||||||
|
return true;
|
||||||
u32 frames_to_next_pause = 0;
|
u32 frames_to_next_pause = 0;
|
||||||
bool can_pause = rc_client_can_pause(m_client, &frames_to_next_pause);
|
bool can_pause = rc_client_can_pause(m_client, &frames_to_next_pause);
|
||||||
if (!can_pause)
|
if (!can_pause)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue