mirror of
https://github.com/libretro/RetroArch
synced 2025-03-28 19:20:35 +00:00
don't track disc changes when achievements are disabled (#15939)
This commit is contained in:
parent
4fd118f446
commit
c2f32a434d
@ -3301,8 +3301,11 @@ static void rcheevos_client_change_media_callback(int result,
|
||||
|
||||
void rcheevos_change_disc(const char* new_disc_path, bool initial_disc)
|
||||
{
|
||||
rc_client_begin_change_media(rcheevos_locals.client, new_disc_path,
|
||||
NULL, 0, rcheevos_client_change_media_callback, NULL);
|
||||
if (rcheevos_locals.client)
|
||||
{
|
||||
rc_client_begin_change_media(rcheevos_locals.client, new_disc_path,
|
||||
NULL, 0, rcheevos_client_change_media_callback, NULL);
|
||||
}
|
||||
}
|
||||
|
||||
#else /* !HAVE_RC_CLIENT */
|
||||
|
Loading…
x
Reference in New Issue
Block a user