Fixes tmnt095gre - emulated reset line's effect on the UPD7759 controlling flip-flops

This commit is contained in:
Zsolt Vasvari 2008-01-10 16:14:02 +00:00
parent c4a20b32bb
commit e48263b694

View File

@ -2565,6 +2565,13 @@ static MACHINE_DRIVER_START( mia )
MACHINE_DRIVER_END
static MACHINE_RESET( tmnt )
{
/* the UPD7759 control flip-flops are cleared: /ST is 1, /RESET is 0 */
upd7759_0_start_w(0, 0);
upd7759_0_reset_w(0, 1);
}
static MACHINE_DRIVER_START( tmnt )
/* basic machine hardware */
@ -2576,6 +2583,8 @@ static MACHINE_DRIVER_START( tmnt )
/* audio CPU */ /* 3.579545 MHz */
MDRV_CPU_PROGRAM_MAP(tmnt_s_readmem,tmnt_s_writemem)
MDRV_MACHINE_RESET(tmnt)
MDRV_SCREEN_REFRESH_RATE(60)
MDRV_SCREEN_VBLANK_TIME(DEFAULT_REAL_60HZ_VBLANK_DURATION)