summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/spectrum/wafa.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/spectrum/wafa.cpp')
-rw-r--r--src/devices/bus/spectrum/wafa.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/devices/bus/spectrum/wafa.cpp b/src/devices/bus/spectrum/wafa.cpp
index 1dfec7e3e57..f1f722715b3 100644
--- a/src/devices/bus/spectrum/wafa.cpp
+++ b/src/devices/bus/spectrum/wafa.cpp
@@ -22,6 +22,7 @@
#include "emu.h"
#include "wafa.h"
+#include "softlist_dev.h"
//**************************************************************************
// DEVICE DEFINITIONS
@@ -52,6 +53,7 @@ void spectrum_wafa_device::device_add_mconfig(machine_config &config)
SPECTRUM_EXPANSION_SLOT(config, m_exp, spectrum_expansion_devices, nullptr);
m_exp->irq_handler().set(DEVICE_SELF_OWNER, FUNC(spectrum_expansion_slot_device::irq_w));
m_exp->nmi_handler().set(DEVICE_SELF_OWNER, FUNC(spectrum_expansion_slot_device::nmi_w));
+ m_exp->fb_r_handler().set(DEVICE_SELF_OWNER, FUNC(spectrum_expansion_slot_device::fb_r));
SOFTWARE_LIST(config, "wafadrive_list").set_original("spectrum_wafadrive");
}
@@ -101,9 +103,9 @@ void spectrum_wafa_device::device_reset()
// IMPLEMENTATION
//**************************************************************************
-READ_LINE_MEMBER(spectrum_wafa_device::romcs)
+bool spectrum_wafa_device::romcs()
{
- return m_romcs | m_exp->romcs();
+ return m_romcs || m_exp->romcs();
}
void spectrum_wafa_device::pre_opcode_fetch(offs_t offset)