mirror of
https://github.com/libretro/RetroArch
synced 2025-04-16 08:43:10 +00:00
cheevos: fix crash entering achievements in quick menu when no client (#17472)
This commit is contained in:
parent
c11d9bee2e
commit
b982ff64c2
@ -303,7 +303,7 @@ void rcheevos_menu_populate(void* data)
|
|||||||
rcheevos_menu_reset_badges();
|
rcheevos_menu_reset_badges();
|
||||||
rcheevos_locals->menuitem_count = 0;
|
rcheevos_locals->menuitem_count = 0;
|
||||||
|
|
||||||
if (rcheevos_locals->client->state.disconnect)
|
if (rcheevos_locals->client && rcheevos_locals->client->state.disconnect)
|
||||||
{
|
{
|
||||||
menu_entries_append(info->list,
|
menu_entries_append(info->list,
|
||||||
msg_hash_to_str(MENU_ENUM_LABEL_VALUE_ACHIEVEMENT_SERVER_UNREACHABLE),
|
msg_hash_to_str(MENU_ENUM_LABEL_VALUE_ACHIEVEMENT_SERVER_UNREACHABLE),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user