diff options
Diffstat (limited to 'src/devices/bus/abckb/abc77.cpp')
-rw-r--r-- | src/devices/bus/abckb/abc77.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/bus/abckb/abc77.cpp b/src/devices/bus/abckb/abc77.cpp index 81a0cc44cc7..f5e4f13bafd 100644 --- a/src/devices/bus/abckb/abc77.cpp +++ b/src/devices/bus/abckb/abc77.cpp @@ -110,7 +110,7 @@ void abc77_device::abc77_map(address_map &map) void abc77_device::abc77_io(address_map &map) { map(0x00, 0x00).mirror(0xff).w(FUNC(abc77_device::j3_w)); - map(0x00, 0x00).mirror(0xff).portr("DSW"); + map(0x00, 0x00).mirror(0xff).portr(m_dsw); } @@ -313,7 +313,7 @@ static INPUT_PORTS_START( abc55 ) PORT_BIT( 0xe0, IP_ACTIVE_LOW, IPT_UNUSED) PORT_START("SW1") - PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Keyboard Reset") PORT_CHANGED_MEMBER(DEVICE_SELF, abc77_device, keyboard_reset, 0) + PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Keyboard Reset") PORT_CHANGED_MEMBER(DEVICE_SELF, FUNC(abc77_device::keyboard_reset), 0) INPUT_PORTS_END |