summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author Roberto Fresca <robbie@robertofresca.com>2025-08-29 03:41:59 +0200
committer Roberto Fresca <robbie@robertofresca.com>2025-08-29 03:41:59 +0200
commit5ab1a10950311af888990d6eff42b14947b84337 (patch)
treedb84490f9f5e6018409933a41fa4382ade165bbf
parent80cf242df8472913f50e3a089165934439ef59ea (diff)
goldstar.cpp driver improvements. [Roberto Fresca, Grull Osgo]
- Added hopper support to the following sets: nfb96, nfb96a, nfb96b, nfb96c, nfb96d, nfb96e, nfb96f, nfb96g, nfb96h, nfb96i, nfb96j, nfb96k, nfb96l, nc96, nc96a, nc96b, nc96c, nc96d, nc96e, nc96f, nc96g, nc96h, nc96i, nc96j, nc96k, and nc96l.
-rw-r--r--src/mame/igs/goldstar.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/igs/goldstar.cpp b/src/mame/igs/goldstar.cpp
index d287e66b511..9f62d7bf119 100644
--- a/src/mame/igs/goldstar.cpp
+++ b/src/mame/igs/goldstar.cpp
@@ -7014,10 +7014,10 @@ static INPUT_PORTS_START( nfb96 )
PORT_START("IN2")
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
- PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN )
- PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
+ PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_CUSTOM ) PORT_READ_LINE_DEVICE_MEMBER("hopper", FUNC(ticket_dispenser_device::line_r))
+ PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_CUSTOM ) // Hopper presence detection
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_GAMBLE_KEYOUT ) PORT_NAME("Key Out / Attendant")
- PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
+ PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN ) PORT_CODE(KEYCODE_8_PAD) PORT_NAME("Hopper Payout")
PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_GAMBLE_SERVICE ) PORT_NAME("Settings / Confirm")
PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_GAMBLE_BOOK ) PORT_NAME("Stats")