mirror of
https://github.com/holub/mame
synced 2025-05-21 21:29:15 +03:00
Same assertion fixes for wwfsstar/wwfwfest drivers.
This commit is contained in:
parent
78f5d6e9ea
commit
d52a995f15
@ -268,7 +268,8 @@ static TIMER_DEVICE_CALLBACK( wwfsstar_scanline )
|
|||||||
/* An interrupt is generated every 16 scanlines */
|
/* An interrupt is generated every 16 scanlines */
|
||||||
if (scanline % 16 == 0)
|
if (scanline % 16 == 0)
|
||||||
{
|
{
|
||||||
video_screen_update_partial(timer->machine->primary_screen, scanline - 1);
|
if (scanline > 0)
|
||||||
|
video_screen_update_partial(timer->machine->primary_screen, scanline - 1);
|
||||||
cpu_set_input_line(timer->machine->cpu[0], 5, ASSERT_LINE);
|
cpu_set_input_line(timer->machine->cpu[0], 5, ASSERT_LINE);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -351,7 +351,8 @@ static TIMER_DEVICE_CALLBACK( wwfwfest_scanline )
|
|||||||
/* An interrupt is generated every 16 scanlines */
|
/* An interrupt is generated every 16 scanlines */
|
||||||
if (scanline % 16 == 0)
|
if (scanline % 16 == 0)
|
||||||
{
|
{
|
||||||
video_screen_update_partial(timer->machine->primary_screen, scanline - 1);
|
if (scanline > 0)
|
||||||
|
video_screen_update_partial(timer->machine->primary_screen, scanline - 1);
|
||||||
cpu_set_input_line(timer->machine->cpu[0], 2, ASSERT_LINE);
|
cpu_set_input_line(timer->machine->cpu[0], 2, ASSERT_LINE);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user