Fix shadfrce assertions.

This commit is contained in:
Aaron Giles 2009-01-02 00:46:23 +00:00
parent 9ce87edb3f
commit 78f5d6e9ea

View File

@ -287,6 +287,7 @@ static TIMER_DEVICE_CALLBACK( shadfrce_scanline )
if (scanline == raster_scanline)
{
raster_scanline = (raster_scanline + 1) % 240;
if (raster_scanline > 0)
video_screen_update_partial(timer->machine->primary_screen, raster_scanline - 1);
cpu_set_input_line(timer->machine->cpu[0], 1, ASSERT_LINE);
}
@ -297,6 +298,7 @@ static TIMER_DEVICE_CALLBACK( shadfrce_scanline )
{
if (scanline % 16 == 0)
{
if (scanline > 0)
video_screen_update_partial(timer->machine->primary_screen, scanline - 1);
cpu_set_input_line(timer->machine->cpu[0], 2, ASSERT_LINE);
}