add GameHBIRQHook2 in newppu (fixes mapper 90 [contra spirits {pirate}]) (fixes #783). Kind of a semi-wild guess but I think it has a fair chance at being right.

This commit is contained in:
zeromus 2017-03-20 01:51:44 +00:00
parent e1609b143c
commit a85ba2a641
1 changed files with 8 additions and 0 deletions

View File

@ -2364,6 +2364,14 @@ int FCEUX_PPU_Loop(int skip) {
}
}
//blind attempt to replicate old ppu functionality
if(s == 2 && PPUON)
{
if (GameHBIRQHook2) {
GameHBIRQHook2();
}
}
if (realSprite) runppu(kFetchTime);