|
|
|
@ -255,6 +255,10 @@ void CommonHost::OnSystemPaused()
|
|
|
|
|
|
|
|
|
|
|
|
InputManager::PauseVibration();
|
|
|
|
InputManager::PauseVibration();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#ifdef WITH_CHEEVOS
|
|
|
|
|
|
|
|
Achievements::OnSystemPaused(true);
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
if (g_settings.inhibit_screensaver)
|
|
|
|
if (g_settings.inhibit_screensaver)
|
|
|
|
FrontendCommon::ResumeScreensaver();
|
|
|
|
FrontendCommon::ResumeScreensaver();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@ -263,6 +267,10 @@ void CommonHost::OnSystemResumed()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
FullscreenUI::OnSystemResumed();
|
|
|
|
FullscreenUI::OnSystemResumed();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#ifdef WITH_CHEEVOS
|
|
|
|
|
|
|
|
Achievements::OnSystemPaused(false);
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
if (g_settings.inhibit_screensaver)
|
|
|
|
if (g_settings.inhibit_screensaver)
|
|
|
|
FrontendCommon::SuspendScreensaver();
|
|
|
|
FrontendCommon::SuspendScreensaver();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|