mirror of
https://github.com/libretro/RetroArch
synced 2025-04-10 06:44:27 +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)
|
void rcheevos_change_disc(const char* new_disc_path, bool initial_disc)
|
||||||
{
|
{
|
||||||
rc_client_begin_change_media(rcheevos_locals.client, new_disc_path,
|
if (rcheevos_locals.client)
|
||||||
NULL, 0, rcheevos_client_change_media_callback, NULL);
|
{
|
||||||
|
rc_client_begin_change_media(rcheevos_locals.client, new_disc_path,
|
||||||
|
NULL, 0, rcheevos_client_change_media_callback, NULL);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#else /* !HAVE_RC_CLIENT */
|
#else /* !HAVE_RC_CLIENT */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user