summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/spectrum/d40.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/spectrum/d40.cpp')
-rw-r--r--src/devices/bus/spectrum/d40.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/bus/spectrum/d40.cpp b/src/devices/bus/spectrum/d40.cpp
index 89f0417c681..50927561ac8 100644
--- a/src/devices/bus/spectrum/d40.cpp
+++ b/src/devices/bus/spectrum/d40.cpp
@@ -32,7 +32,7 @@ DEFINE_DEVICE_TYPE(SPECTRUM_D80V2, spectrum_d80v2_device, "spectrum_d80v2", "Did
INPUT_PORTS_START(d40)
PORT_START("BUTTON")
- PORT_BIT(0x01, IP_ACTIVE_HIGH, IPT_BUTTON1) PORT_NAME("Snapshot Button") PORT_CODE(KEYCODE_MINUS_PAD) PORT_CHANGED_MEMBER(DEVICE_SELF, spectrum_d40base_device, snapshot_button, 0)
+ PORT_BIT(0x01, IP_ACTIVE_HIGH, IPT_BUTTON1) PORT_NAME("Snapshot Button") PORT_CODE(KEYCODE_MINUS_PAD) PORT_CHANGED_MEMBER(DEVICE_SELF, FUNC(spectrum_d40base_device::snapshot_button), 0)
PORT_START("JOY")
PORT_BIT(0x01, IP_ACTIVE_HIGH, IPT_JOYSTICK_RIGHT) PORT_8WAY
@@ -211,7 +211,7 @@ void spectrum_d40base_device::device_reset()
// IMPLEMENTATION spectrum_d40base_device
//**************************************************************************
-int spectrum_d40base_device::romcs()
+bool spectrum_d40base_device::romcs()
{
return m_romcs;
}