mirror of
https://github.com/holub/mame
synced 2025-04-22 16:31:49 +03:00
fmtowns: return status even if no disk inserted, fixes irium (nw)
This commit is contained in:
parent
16109343ae
commit
a5890147b1
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user