From cd8faf66e8d473d5afde34822c491c01e90fbadc Mon Sep 17 00:00:00 2001 From: sonninnos Date: Fri, 24 May 2024 18:59:32 +0300 Subject: [PATCH] Deregister disk control callback when not running MCD --- libretro/libretro.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libretro/libretro.c b/libretro/libretro.c index 35399cde1..74ad2e2f2 100644 --- a/libretro/libretro.c +++ b/libretro/libretro.c @@ -3672,6 +3672,8 @@ bool retro_load_game(const struct retro_game_info *info) if (system_hw == SYSTEM_MCD) bram_load(); + else + environ_cb(RETRO_ENVIRONMENT_SET_DISK_CONTROL_INTERFACE, NULL); update_viewport();