Merge pull request #4865 from leiradel/master

Prevent the menu from getting garbage for the cheevos list
This commit is contained in:
Twinaphex 2017-04-29 21:16:19 +02:00 committed by GitHub
commit 34184654d9

View File

@ -3288,7 +3288,12 @@ bool cheevos_unload(void)
return false;
cheevos_free_cheevo_set(&cheevos_locals.core);
cheevos_locals.core.cheevos = NULL;
cheevos_locals.core.count = 0;
cheevos_free_cheevo_set(&cheevos_locals.unofficial);
cheevos_locals.unofficial.cheevos = NULL;
cheevos_locals.unofficial.count = 0;
cheevos_loaded = 0;