summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/spectrum/sixword.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/spectrum/sixword.cpp')
-rw-r--r--src/devices/bus/spectrum/sixword.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/devices/bus/spectrum/sixword.cpp b/src/devices/bus/spectrum/sixword.cpp
index 5686f61b1e5..7e55410e78b 100644
--- a/src/devices/bus/spectrum/sixword.cpp
+++ b/src/devices/bus/spectrum/sixword.cpp
@@ -62,7 +62,7 @@ DEFINE_DEVICE_TYPE(SPECTRUM_SWIFTDISC2, spectrum_swiftdisc2_device, "spectrum_sw
INPUT_PORTS_START(swiftdisc)
PORT_START("BUTTON")
- PORT_BIT(0x01, IP_ACTIVE_HIGH, IPT_BUTTON1) PORT_NAME("Interrupt Button") PORT_CODE(KEYCODE_MINUS_PAD) PORT_CHANGED_MEMBER(DEVICE_SELF, spectrum_swiftdisc_device, nmi_button, 0)
+ PORT_BIT(0x01, IP_ACTIVE_HIGH, IPT_BUTTON1) PORT_NAME("Interrupt Button") PORT_CODE(KEYCODE_MINUS_PAD) PORT_CHANGED_MEMBER(DEVICE_SELF, FUNC(spectrum_swiftdisc_device::nmi_button), 0)
PORT_START("JOY")
PORT_BIT(0x01, IP_ACTIVE_HIGH, IPT_JOYSTICK_RIGHT) PORT_8WAY
@@ -268,9 +268,9 @@ void spectrum_swiftdisc2_device::device_reset()
// IMPLEMENTATION (swiftdisc)
//**************************************************************************
-int spectrum_swiftdisc_device::romcs()
+bool spectrum_swiftdisc_device::romcs()
{
- return m_romcs | m_exp->romcs();
+ return m_romcs || m_exp->romcs();
}
void spectrum_swiftdisc_device::post_opcode_fetch(offs_t offset)