sega/stvcd.cpp: unload image on tray open

This commit is contained in:
angelosa 2025-02-12 11:16:32 +01:00
parent e5b62f923e
commit d665625558

View File

@ -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");