summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author cracyc <cracyc@users.noreply.github.com>2018-02-03 15:53:18 -0600
committer cracyc <cracyc@users.noreply.github.com>2018-02-03 15:53:18 -0600
commita5890147b1807608bc57c738030dbef027973465 (patch)
treebcf66dbc050aff8afde806b13f1e1ea785d9ad4a
parent16109343aeea2e41e3e5db9b2d831032d16f2c65 (diff)
fmtowns: return status even if no disk inserted, fixes irium (nw)
-rw-r--r--src/mame/drivers/fmtowns.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/fmtowns.cpp b/src/mame/drivers/fmtowns.cpp
index e388d1bac2f..c8d4ccdbe47 100644
--- a/src/mame/drivers/fmtowns.cpp
+++ b/src/mame/drivers/fmtowns.cpp
@@ -1581,7 +1581,7 @@ void towns_state::towns_delay_cdda(cdrom_image_device* dev)
void towns_state::towns_cdrom_execute_command(cdrom_image_device* device)
{
towns_cdrom_set_irq(TOWNS_CD_IRQ_MPU,0); // TODO: this isn't sufficiently tested
- if(device->get_cdrom_file() == nullptr)
+ if((device->get_cdrom_file() == nullptr) && (m_towns_cd.command != 0xa0))
{ // No CD in drive
if(m_towns_cd.command & 0x20)
{