diff options
Diffstat (limited to 'src/devices/bus/nes_ctrl/zapper.cpp')
-rw-r--r-- | src/devices/bus/nes_ctrl/zapper.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/bus/nes_ctrl/zapper.cpp b/src/devices/bus/nes_ctrl/zapper.cpp index 8562db41bec..4a2b42d136a 100644 --- a/src/devices/bus/nes_ctrl/zapper.cpp +++ b/src/devices/bus/nes_ctrl/zapper.cpp @@ -26,7 +26,7 @@ static INPUT_PORTS_START( nes_zapper ) PORT_START("GUN_Y") PORT_BIT( 0xff, 0x80, IPT_LIGHTGUN_Y ) PORT_CROSSHAIR(Y, 1.0, 0.0, 0) PORT_SENSITIVITY(50) PORT_KEYDELTA(30) PORT_MINMAX(0, 239) PORT_START("GUN_T") - PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_BUTTON1 ) PORT_NAME("Lightgun Trigger") PORT_CHANGED_MEMBER(DEVICE_SELF, nes_zapper_device, trigger, 0) + PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_BUTTON1 ) PORT_NAME("Lightgun Trigger") PORT_CHANGED_MEMBER(DEVICE_SELF, FUNC(nes_zapper_device::trigger), 0) INPUT_PORTS_END ioport_constructor nes_zapper_device::device_input_ports() const |