Get frame counter incrementing in the NES core. TODO: store it in savestates

This commit is contained in:
andres.delikat 2011-03-01 14:38:52 +00:00
parent ac7f43304f
commit 7182d905a4
1 changed files with 5 additions and 5 deletions

View File

@ -307,7 +307,8 @@ namespace BizHawk.Emulation.Consoles.Nintendo
{
//TODO!
//cpu.Execute(10000);
ppu.FrameAdvance();
Controller.UpdateControls(Frame++);
ppu.FrameAdvance();
}
protected void RunCpu(int cycles)
@ -405,10 +406,9 @@ namespace BizHawk.Emulation.Consoles.Nintendo
//cpu.debug = true;
}
public int Frame
{
get { return 0; }
}
public int Frame { get; set; }
private byte Port01 = 0xFF;
public bool DeterministicEmulation { get { return true; } set { } }
public byte[] SaveRam