C64: Move VIC raster IRQ to phase 1
This commit is contained in:
parent
dbf6b39e7f
commit
e6871b2cc3
|
@ -249,17 +249,6 @@ namespace BizHawk.Emulation.Cores.Computers.Commodore64.MOS
|
||||||
_spriteSpriteCollisionClearPending = false;
|
_spriteSpriteCollisionClearPending = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// render
|
|
||||||
ParseCycle();
|
|
||||||
UpdateBa();
|
|
||||||
UpdatePins();
|
|
||||||
Render();
|
|
||||||
}
|
|
||||||
|
|
||||||
public void ExecutePhase2()
|
|
||||||
{
|
|
||||||
// phi2
|
|
||||||
|
|
||||||
// start of rasterline
|
// start of rasterline
|
||||||
if ((_cycle == RasterIrqLineXCycle && _rasterLine > 0) || (_cycle == RasterIrqLine0Cycle && _rasterLine == 0))
|
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
|
// check top and bottom border
|
||||||
if (_rasterLine == _borderB)
|
if (_rasterLine == _borderB)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue