mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 21:30:19 -06:00
Merge pull request #13557 from LillyJadeKatrin/pause-bugfix
AchievementManager: Always allow pausing if game not loaded
This commit is contained in:
@ -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)
|
||||||
|
Reference in New Issue
Block a user