diff options
| author | 2025-08-27 01:59:47 +0200 | |
|---|---|---|
| committer | 2025-08-27 01:59:47 +0200 | |
| commit | f8bd007042aa4b98a6155d8dded5475253e87f37 (patch) | |
| tree | 7fe1679e63217d9892f06aab549ed6e98a225cb0 | |
| parent | 3419dda2dc63855a6fb97fbffff656ff7d012c34 (diff) | |
goldstar.cpp driver improvements. [Roberto Fresca, Grull Osgo]
Added hopper support to magodds, magoddsa, and magoddsb sets.
| -rw-r--r-- | src/mame/igs/goldstar.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/mame/igs/goldstar.cpp b/src/mame/igs/goldstar.cpp index 137577e16d8..347abf716c9 100644 --- a/src/mame/igs/goldstar.cpp +++ b/src/mame/igs/goldstar.cpp @@ -6688,7 +6688,7 @@ static INPUT_PORTS_START( magodds ) PORT_START("IN4") // b811 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( 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_UNKNOWN ) PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_GAMBLE_KEYOUT ) PORT_NAME("Key Out / Attendant") PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_CODE(KEYCODE_8_PAD) PORT_NAME("Hopper") @@ -11856,6 +11856,10 @@ void wingco_state::magodds(machine_config &config) aysnd.port_a_write_callback().set(FUNC(wingco_state::ay8910_outputa_w)); aysnd.port_b_write_callback().set(FUNC(wingco_state::ay8910_outputb_w)); aysnd.add_route(ALL_OUTPUTS, "mono", 0.80); + + // payout hardware + TICKET_DISPENSER(config, m_ticket_dispenser, attotime::from_msec(50)); + } @@ -11892,6 +11896,7 @@ void goldstar_state::kkotnoli(machine_config &config) SPEAKER(config, "mono").front_center(); SN76489(config, "snsnd", PSG_CLOCK).add_route(ALL_OUTPUTS, "mono", 0.80); + } |
