summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/stvcd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/stvcd.cpp')
-rw-r--r--src/devices/machine/stvcd.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/devices/machine/stvcd.cpp b/src/devices/machine/stvcd.cpp
index 21b2128a68d..e1cf25e6214 100644
--- a/src/devices/machine/stvcd.cpp
+++ b/src/devices/machine/stvcd.cpp
@@ -1520,9 +1520,9 @@ void saturn_state::stvcd_reset( void )
}
// open device
- if (cdrom)
+ //if (cdrom)
{
- cdrom_close(cdrom);
+ //cdrom_close(cdrom);
cdrom = (cdrom_file *)nullptr;
}
@@ -2720,6 +2720,7 @@ void saturn_state::stvcd_set_tray_close( void )
return;
hirqreg |= DCHG;
+ cdrom = (cdrom_file *)nullptr;
cdrom_image_device *cddevice = machine().device<cdrom_image_device>("cdrom");
if (cddevice!=nullptr)