libretro / dosbox-svn

GNU General Public License v2.0
6 stars 17 forks source link

libretro: Allow frontends to call disk_set_eject_state with no disk attached #71

Closed obbardc closed 3 years ago

obbardc commented 3 years ago

Some frontends (e.g. Retro-GTK) try to unmount a disk before setting the path for a new disk; let's be extra careful in the emulator and check if a disk really exists before attempting to unmount it.

Signed-off-by: Christopher Obbard chris.obbard@collabora.com

realnc commented 3 years ago

Thanks!