ColecoHawk - hook up frame and lag counters

This commit is contained in:
adelikat 2012-11-18 05:22:13 +00:00
parent 94475aa9a7
commit b7f9a99250
1 changed files with 5 additions and 0 deletions

View File

@ -47,9 +47,14 @@ namespace BizHawk.Emulation.Consoles.Coleco
public void FrameAdvance(bool render, bool renderSound)
{
Frame++;
IsLagFrame = true;
PSG.BeginFrame(Cpu.TotalExecutedCycles);
VDP.ExecuteFrame();
PSG.EndFrame(Cpu.TotalExecutedCycles);
if (IsLagFrame)
LagCount++;
}
void LoadRom(byte[] rom)