summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/machine/ncr539x.c
diff options
context:
space:
mode:
author smf- <smf-@users.noreply.github.com>2013-09-17 18:23:52 +0000
committer smf- <smf-@users.noreply.github.com>2013-09-17 18:23:52 +0000
commit0839767cb356a6fe3d2512b8aaa317b0b17fc578 (patch)
tree3a62c7f1823b84fe21f4a15576ae460b31b6bce7 /src/emu/machine/ncr539x.c
parent46781347cd06f6b837944c92da630f4d45232c34 (diff)
Use virtual multiple inheritance to share command processing between SCSI & ATAPI instead of having a SCSI subdevice. This allows matsushita_cr589_device & gdrom_device to derive from atapi_cdrom_device. [smf]
Diffstat (limited to 'src/emu/machine/ncr539x.c')
-rw-r--r--src/emu/machine/ncr539x.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/emu/machine/ncr539x.c b/src/emu/machine/ncr539x.c
index 2d5a23f9a41..8d8ffb50ff2 100644
--- a/src/emu/machine/ncr539x.c
+++ b/src/emu/machine/ncr539x.c
@@ -776,7 +776,8 @@ void ncr539x_device::exec_fifo()
int length, phase;
m_scsi_devices[m_last_id]->SetCommand(&m_fifo[0], 12);
- m_scsi_devices[m_last_id]->ExecCommand(&length);
+ m_scsi_devices[m_last_id]->ExecCommand();
+ m_scsi_devices[m_last_id]->GetLength(&length);
m_scsi_devices[m_last_id]->GetPhase(&phase);
#if VERBOSE