mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Don't show RetroAchievements login failures (and don't retry) if the user has disabled them.
This commit is contained in:
parent
9305d235e0
commit
9e708fc82d
1 changed files with 2 additions and 2 deletions
|
@ -533,7 +533,7 @@ void Idle() {
|
|||
|
||||
// If failed to log in, occasionally try again while the user is at the menu.
|
||||
// Do not try if if in-game, that could get confusing.
|
||||
if (GetUIState() == UISTATE_MENU && now > g_lastLoginAttemptTime + LOGIN_ATTEMPT_INTERVAL_S) {
|
||||
if (g_Config.bAchievementsEnable && GetUIState() == UISTATE_MENU && now > g_lastLoginAttemptTime + LOGIN_ATTEMPT_INTERVAL_S) {
|
||||
g_lastLoginAttemptTime = now;
|
||||
if (g_rcClient && IsLoggedIn()) {
|
||||
return; // All good.
|
||||
|
@ -740,7 +740,7 @@ void SetGame(const Path &path, FileLoader *fileLoader) {
|
|||
}
|
||||
|
||||
if (!g_rcClient || !IsLoggedIn()) {
|
||||
if (HasToken()) {
|
||||
if (g_Config.bAchievementsEnable && HasToken()) {
|
||||
ShowNotLoggedInMessage();
|
||||
}
|
||||
// Nothing to do.
|
||||
|
|
Loading…
Add table
Reference in a new issue