C64: Move VIC raster IRQ to phase 1

This commit is contained in:
SaxxonPike 2019-07-13 00:27:08 -05:00
parent dbf6b39e7f
commit e6871b2cc3
1 changed files with 11 additions and 11 deletions

View File

@ -249,17 +249,6 @@ namespace BizHawk.Emulation.Cores.Computers.Commodore64.MOS
_spriteSpriteCollisionClearPending = false;
}
// render
ParseCycle();
UpdateBa();
UpdatePins();
Render();
}
public void ExecutePhase2()
{
// phi2
// start of rasterline
if ((_cycle == RasterIrqLineXCycle && _rasterLine > 0) || (_cycle == RasterIrqLine0Cycle && _rasterLine == 0))
{
@ -273,6 +262,17 @@ namespace BizHawk.Emulation.Cores.Computers.Commodore64.MOS
}
}
// render
ParseCycle();
UpdateBa();
UpdatePins();
Render();
}
public void ExecutePhase2()
{
// phi2
// check top and bottom border
if (_rasterLine == _borderB)
{