N64 - implement ResetFrameCounter() method

This commit is contained in:
adelikat 2013-05-05 22:53:22 +00:00
parent 8b51686944
commit 7fb317cc37
1 changed files with 6 additions and 4 deletions

View File

@ -1,8 +1,5 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
using System.Runtime.InteropServices;
using System.Threading;
@ -77,7 +74,12 @@ namespace BizHawk.Emulation.Consoles.Nintendo.N64
public int Frame { get; set; }
public int LagCount { get; set; }
public bool IsLagFrame { get; set; }
public void ResetFrameCounter() { }
public void ResetFrameCounter()
{
Frame = 0;
LagCount = 0;
IsLagFrame = false;
}
public void FrameAdvance(bool render, bool rendersound)
{
if (Controller["Reset"])