mirror of
https://github.com/holub/mame
synced 2025-04-26 10:13:37 +03:00
starwars: Remedy for MT #6672
This commit is contained in:
parent
1dba116ace
commit
3bdf02b97d
@ -56,6 +56,13 @@ WRITE8_MEMBER(starwars_state::r6532_porta_w)
|
||||
*
|
||||
*************************************/
|
||||
|
||||
WRITE_LINE_MEMBER(starwars_state::boost_interleave_hack)
|
||||
{
|
||||
if (state)
|
||||
machine().scheduler().boost_interleave(attotime::zero, attotime::from_usec(100));
|
||||
}
|
||||
|
||||
|
||||
READ8_MEMBER(starwars_state::starwars_main_ready_flag_r)
|
||||
{
|
||||
return m_riot->porta_in_get() & 0xc0; /* only upper two flag bits mapped */
|
||||
|
@ -362,9 +362,11 @@ static MACHINE_CONFIG_START( starwars )
|
||||
|
||||
MCFG_GENERIC_LATCH_8_ADD("soundlatch")
|
||||
MCFG_GENERIC_LATCH_DATA_PENDING_CB(DEVWRITELINE("riot", riot6532_device, pa7_w))
|
||||
MCFG_DEVCB_CHAIN_OUTPUT(WRITELINE(starwars_state, boost_interleave_hack))
|
||||
|
||||
MCFG_GENERIC_LATCH_8_ADD("mainlatch")
|
||||
MCFG_GENERIC_LATCH_DATA_PENDING_CB(DEVWRITELINE("riot", riot6532_device, pa6_w))
|
||||
MCFG_DEVCB_CHAIN_OUTPUT(WRITELINE(starwars_state, boost_interleave_hack))
|
||||
MACHINE_CONFIG_END
|
||||
|
||||
|
||||
|
@ -71,6 +71,7 @@ public:
|
||||
DECLARE_WRITE8_MEMBER(starwars_math_w);
|
||||
DECLARE_CUSTOM_INPUT_MEMBER(matrix_flag_r);
|
||||
DECLARE_READ8_MEMBER(starwars_main_ready_flag_r);
|
||||
DECLARE_WRITE_LINE_MEMBER(boost_interleave_hack);
|
||||
DECLARE_WRITE8_MEMBER(starwars_soundrst_w);
|
||||
DECLARE_WRITE8_MEMBER(quad_pokeyn_w);
|
||||
DECLARE_DRIVER_INIT(esb);
|
||||
|
Loading…
Reference in New Issue
Block a user