C64: No need for LagCycles anymore.

This commit is contained in:
SaxxonPike 2019-07-06 16:29:14 -05:00
parent 6ed11de85b
commit 3bf37f1c17
2 changed files with 0 additions and 8 deletions

View File

@ -207,7 +207,6 @@ namespace BizHawk.Emulation.Cores.Computers.Commodore64
{
_board.InputRead = false;
_board.PollInput();
_board.Cpu.LagCycles = 0;
}
_board.Execute();

View File

@ -117,14 +117,8 @@ namespace BizHawk.Emulation.Cores.Computers.Commodore64.MOS
_cpu.NMI |= _pinNmiLast && !_thisNmi;
_cpu.ExecuteOne();
}
else
{
LagCycles++;
}
}
public int LagCycles;
internal bool AtInstructionStart()
{
return _cpu.AtInstructionStart();
@ -233,7 +227,6 @@ namespace BizHawk.Emulation.Cores.Computers.Commodore64.MOS
ser.EndSection();
ser.Sync(nameof(_thisNmi), ref _thisNmi);
ser.Sync(nameof(LagCycles), ref LagCycles);
}
public void Write(int addr, int val)