Skip to content

Commit

Permalink
Merge pull request #353 from sonninnos/disk-control-null
Browse files Browse the repository at this point in the history
Deregister disk control callback when not running MCD
  • Loading branch information
LibretroAdmin committed May 25, 2024
2 parents 80eae29 + cd8faf6 commit d2f1241
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 d2f1241

Please sign in to comment.