mirror of
https://github.com/holub/mame
synced 2025-06-03 19:36:26 +03:00
[SNES]: Fixed a partial update bug when the screen is in interlace mode
This commit is contained in:
parent
1cf0cbaba2
commit
5e1f170a9e
@ -255,7 +255,7 @@ static TIMER_CALLBACK( snes_hblank_tick )
|
||||
if( snes_ram[HDMAEN] )
|
||||
snes_hdma(cpu0space);
|
||||
|
||||
video_screen_update_partial(machine->primary_screen, snes_ppu.beam.current_vert-1);
|
||||
video_screen_update_partial(machine->primary_screen, (snes_ppu.interlace == 2) ? (snes_ppu.beam.current_vert*snes_ppu.interlace) : snes_ppu.beam.current_vert-1);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user