From 2361b22ac7c6c7042f23be93ed672dc402857a81 Mon Sep 17 00:00:00 2001 From: hap Date: Sun, 7 Apr 2024 16:27:26 +0200 Subject: lottofun: fix old regression with ticket dispenser --- src/mame/midway/williams.cpp | 4 ++-- src/mame/misc/dcheese.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/mame/midway/williams.cpp b/src/mame/midway/williams.cpp index cb0d98a53c9..fa0f7ec8e6a 100644 --- a/src/mame/midway/williams.cpp +++ b/src/mame/midway/williams.cpp @@ -1690,7 +1690,7 @@ void williams_state::lottofun(machine_config &config) williams_b1(config); // pia - m_pia[0]->writepa_handler().set("ticket", FUNC(ticket_dispenser_device::motor_w)).bit(7); + m_pia[0]->writepb_handler().set("ticket", FUNC(ticket_dispenser_device::motor_w)).bit(7); m_pia[0]->ca2_handler().set([this](int state) { machine().bookkeeping().coin_lockout_global_w(state); }); TICKET_DISPENSER(config, "ticket", attotime::from_msec(70), TICKET_MOTOR_ACTIVE_LOW, TICKET_STATUS_ACTIVE_HIGH); @@ -3913,7 +3913,7 @@ GAME( 1985, spdball, 0, spdball, spdball, spdball_state, e GAME( 1985, alienar, 0, joust, alienar, wms_muxed_state, init_alienar, ROT0, "Duncan Brown", "Alien Arena", MACHINE_SUPPORTS_SAVE ) GAME( 1985, alienaru, alienar, joust, alienar, wms_muxed_state, init_alienar, ROT0, "Duncan Brown", "Alien Arena (Stargate upgrade)", MACHINE_SUPPORTS_SAVE ) -GAME( 1987, lottofun, 0, lottofun, lottofun, williams_state, empty_init, ROT0, "H.A.R. Management", "Lotto Fun", MACHINE_SUPPORTS_SAVE ) +GAME( 1987, lottofun, 0, lottofun, lottofun, williams_state, empty_init, ROT0, "HAR Management", "Lotto Fun", MACHINE_SUPPORTS_SAVE ) // 2nd Generation Williams hardware with tilemaps diff --git a/src/mame/misc/dcheese.cpp b/src/mame/misc/dcheese.cpp index 5d90102ac83..b6855b1367e 100644 --- a/src/mame/misc/dcheese.cpp +++ b/src/mame/misc/dcheese.cpp @@ -777,8 +777,8 @@ ROM_END * *************************************/ -GAME( 1993, dcheese, 0, dcheese, dcheese, dcheese_state, empty_init, ROT90, "HAR", "Double Cheese", MACHINE_SUPPORTS_SAVE ) -GAME( 1993, lottof2, 0, dcheese, lottof2, dcheese_state, empty_init, ROT0, "HAR", "Lotto Fun 2", MACHINE_SUPPORTS_SAVE ) +GAME( 1993, dcheese, 0, dcheese, dcheese, dcheese_state, empty_init, ROT90, "HAR Management", "Double Cheese", MACHINE_SUPPORTS_SAVE ) +GAME( 1993, lottof2, 0, dcheese, lottof2, dcheese_state, empty_init, ROT0, "HAR Management", "Lotto Fun 2", MACHINE_SUPPORTS_SAVE ) GAME( 1993, cecmatch, 0, fredmem, fredmem, dcheese_state, empty_init, ROT0, "Coastal Amusements", "ChuckECheese's Match Game", MACHINE_SUPPORTS_SAVE ) GAME( 1994, fredmem, 0, fredmem, fredmem, dcheese_state, empty_init, ROT0, "Coastal Amusements", "Fred Flintstone's Memory Match (World?, Ticket version, 3/17/95)", MACHINE_SUPPORTS_SAVE ) GAME( 1994, fredmemus, fredmem, fredmem, fredmem, dcheese_state, empty_init, ROT0, "Coastal Amusements", "Fred Flintstone's Memory Match (US, High Score version, 3/10/95)", MACHINE_SUPPORTS_SAVE ) -- cgit v1.2.3