mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-26 20:54:47 +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;
|
||||
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)
|
||||
mode = CHEEVOS_ACTIVE_HARDCORE;
|
||||
else
|
||||
@ -3293,7 +3288,16 @@ static int cheevos_iterate(coro_t* coro)
|
||||
free((void*)JSON);
|
||||
|
||||
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();
|
||||
}
|
||||
}
|
||||
|
||||
runloop_msg_queue_push("Retro Achievements login error.", 0, 5 * 60, false);
|
||||
|
Loading…
Reference in New Issue
Block a user