And, obviously, make the hblank-in scanline counter to reset at proper screen height

This commit is contained in:
Angelo Salese 2013-08-25 23:02:38 +00:00
parent b6220ce5a5
commit 64e07159cd

View File

@ -2792,7 +2792,7 @@ TIMER_CALLBACK_MEMBER(powervr2_device::hbin)
scanline++;
if(scanline >= (spg_vblank_int & 0x3ff))
if(scanline >= ((spg_load >> 16) & 0x3ff))
{
scanline = 0;
next_y = spg_hblank_int & 0x3ff;