mirror of
https://github.com/holub/mame
synced 2025-04-17 22:13:04 +03:00
sega/stvcd.cpp: unload image on tray open
This commit is contained in:
parent
e5b62f923e
commit
d665625558
@ -2784,7 +2784,9 @@ void stvcd_device::set_tray_open()
|
||||
hirqreg |= DCHG;
|
||||
cd_stat = CD_STAT_OPEN;
|
||||
|
||||
// TODO: unmount image
|
||||
// unmount the existing image, pretend that's what user wants if we are there.
|
||||
m_cdrom_image->unload();
|
||||
|
||||
tray_is_closed = 0;
|
||||
|
||||
popmessage("Tray Open");
|
||||
|
Loading…
Reference in New Issue
Block a user