diff --git a/BizHawk.Emulation.Cores/Computers/Commodore64/MOS/Vic.cs b/BizHawk.Emulation.Cores/Computers/Commodore64/MOS/Vic.cs index b5db242f94..c9cbc09747 100644 --- a/BizHawk.Emulation.Cores/Computers/Commodore64/MOS/Vic.cs +++ b/BizHawk.Emulation.Cores/Computers/Commodore64/MOS/Vic.cs @@ -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) {