From 7fb317cc3734f82985037ee4d176cf249600037d Mon Sep 17 00:00:00 2001 From: adelikat Date: Sun, 5 May 2013 22:53:22 +0000 Subject: [PATCH] N64 - implement ResetFrameCounter() method --- BizHawk.Emulation/Consoles/Nintendo/N64/N64.cs | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/BizHawk.Emulation/Consoles/Nintendo/N64/N64.cs b/BizHawk.Emulation/Consoles/Nintendo/N64/N64.cs index f00774b932..80e51ed089 100644 --- a/BizHawk.Emulation/Consoles/Nintendo/N64/N64.cs +++ b/BizHawk.Emulation/Consoles/Nintendo/N64/N64.cs @@ -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"])