Skip to content

Commit

Permalink
Deregister disk control callback when not running MCD
Browse files Browse the repository at this point in the history
  • Loading branch information
sonninnos committed May 24, 2024
1 parent 80eae29 commit cd8faf6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions libretro/libretro.c
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down

0 comments on commit cd8faf6

Please sign in to comment.