"fix" mmc5 irq timing thingy in new PPU, to help SDF ship intro, but I'm not 100% sure this is right. check for regressions in any other mmc5 splits. but i checked the CV3 menubar and it was broken before and it's fixed now, so I think this is good.

This commit is contained in:
zeromus 2017-03-18 17:46:10 +00:00
parent 1c39740f3d
commit e1609b143c
1 changed files with 4 additions and 1 deletions

View File

@ -2124,7 +2124,10 @@ int FCEUX_PPU_Loop(int skip) {
DEBUG(FCEUD_UpdateNTView(scanline = yp, 1));
}
if (MMC5Hack) MMC5_hb(yp);
//hack to fix SDF ship intro screen with split. is it right?
//well, if we didnt do this, we'd be passing in a negative scanline, so that's a sign something is fishy..
if(sl != 0)
if (MMC5Hack) MMC5_hb(yp);
//twiddle the oam buffers