mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-27 18:20:27 +00:00
hide challenge indicators when resetting
This commit is contained in:
parent
87f7a7f94d
commit
05b36ec374
@ -671,11 +671,21 @@ void rcheevos_reset_game(bool widgets_ready)
|
||||
/* Hide any visible trackers */
|
||||
if (widgets_ready)
|
||||
{
|
||||
rcheevos_ralboard_t* lboard = rcheevos_locals.patchdata.lboards;
|
||||
rcheevos_ralboard_t* lboard;
|
||||
rcheevos_racheevo_t* cheevo;
|
||||
unsigned i;
|
||||
|
||||
lboard = rcheevos_locals.patchdata.lboards;
|
||||
for (i = 0; i < rcheevos_locals.patchdata.lboard_count; ++i, ++lboard)
|
||||
gfx_widgets_set_leaderboard_display(lboard->id, NULL);
|
||||
|
||||
cheevo = rcheevos_locals.patchdata.core;
|
||||
for (i = 0; i < rcheevos_locals.patchdata.core_count; ++i, ++cheevo)
|
||||
gfx_widgets_set_challenge_display(cheevo->id, NULL);
|
||||
|
||||
cheevo = rcheevos_locals.patchdata.unofficial;
|
||||
for (i = 0; i < rcheevos_locals.patchdata.unofficial_count; ++i, ++cheevo)
|
||||
gfx_widgets_set_challenge_display(cheevo->id, NULL);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user