1
0
mirror of https://github.com/libretro/RetroArch synced 2024-07-03 08:48:42 +00:00

Don't initialize rcheevos memory unless used

This commit is contained in:
Bernhard Schelling 2023-05-26 11:47:33 +09:00 committed by LibretroAdmin
parent 18f79a8a8d
commit 520e4400b7

View File

@ -746,7 +746,8 @@ void rcheevos_reset_game(bool widgets_ready)
void rcheevos_refresh_memory()
{
rcheevos_init_memory(&rcheevos_locals);
if (rcheevos_locals.memory.total_size > 0)
rcheevos_init_memory(&rcheevos_locals);
}
bool rcheevos_hardcore_active(void)