mirror of
https://github.com/libretro/RetroArch
synced 2025-04-10 15:45:19 +00:00
show login info only after a RA login procedure
The previous logic shows login info every time a game is launched.
This commit is contained in:
parent
b4b3887a1a
commit
e9d8525e29
@ -2952,11 +2952,6 @@ static int cheevos_iterate(coro_t* coro)
|
|||||||
int mode;
|
int mode;
|
||||||
char msg[256];
|
char msg[256];
|
||||||
|
|
||||||
snprintf(msg, sizeof(msg), "RetroAchievements: logged in as \"%s\".",
|
|
||||||
SETTINGS->arrays.cheevos_username);
|
|
||||||
msg[sizeof(msg) - 1] = 0;
|
|
||||||
runloop_msg_queue_push(msg, 0, 3 * 60, false);
|
|
||||||
|
|
||||||
if(SETTINGS->bools.cheevos_hardcore_mode_enable)
|
if(SETTINGS->bools.cheevos_hardcore_mode_enable)
|
||||||
mode = CHEEVOS_ACTIVE_HARDCORE;
|
mode = CHEEVOS_ACTIVE_HARDCORE;
|
||||||
else
|
else
|
||||||
@ -3293,7 +3288,16 @@ static int cheevos_iterate(coro_t* coro)
|
|||||||
free((void*)JSON);
|
free((void*)JSON);
|
||||||
|
|
||||||
if (!res)
|
if (!res)
|
||||||
|
{
|
||||||
|
if(SETTINGS->bools.cheevos_verbose_enable)
|
||||||
|
{
|
||||||
|
char msg[256];
|
||||||
|
snprintf(msg, sizeof(msg), "RetroAchievements: logged in as \"%s\".", SETTINGS->arrays.cheevos_username);
|
||||||
|
msg[sizeof(msg) - 1] = 0;
|
||||||
|
runloop_msg_queue_push(msg, 0, 3 * 60, false);
|
||||||
|
}
|
||||||
CORO_RET();
|
CORO_RET();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
runloop_msg_queue_push("Retro Achievements login error.", 0, 5 * 60, false);
|
runloop_msg_queue_push("Retro Achievements login error.", 0, 5 * 60, false);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user