Match first VBlank timing to FCEUX
Irrelevent to sync since games wait for VBlank anyway, but extremely convenient for testing.
This commit is contained in:
parent
3a36835af2
commit
4c919c95c0
|
@ -641,13 +641,15 @@ namespace BizHawk.Emulation.Cores.Nintendo.NES
|
|||
if (ppudead < 2)
|
||||
{
|
||||
ppur.status.sl = 241;
|
||||
runppu(postNMIlines * kLineTime);
|
||||
runppu(3);
|
||||
//Reg2002_vblank_active = true;
|
||||
runppu(3);
|
||||
runppu(postNMIlines * kLineTime - 6);
|
||||
ppur.status.sl = 0;
|
||||
clear_2002();
|
||||
//clear_2002();
|
||||
}
|
||||
runppu(241 * kLineTime);
|
||||
runppu(preNMIlines * kLineTime);
|
||||
Reg2002_vblank_active = true;
|
||||
--ppudead;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue