From f1f9331e6bb1e43a86d79043362cbb69f64c95b4 Mon Sep 17 00:00:00 2001 From: goyuken Date: Sun, 18 Nov 2012 15:25:55 +0000 Subject: [PATCH] make sure the clickyvirtualcontroller does in fact clear its state once per frame. fixes weird behavior in frame advance --- BizHawk.MultiClient/MainForm.cs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/BizHawk.MultiClient/MainForm.cs b/BizHawk.MultiClient/MainForm.cs index c9ccacb7c1..237b9bac1a 100644 --- a/BizHawk.MultiClient/MainForm.cs +++ b/BizHawk.MultiClient/MainForm.cs @@ -508,8 +508,8 @@ namespace BizHawk.MultiClient Global.AutofireStickyXORAdapter.MassToggleStickyState(Global.AutoFireController.PressedButtons); } - if (!EmulatorPaused) - Global.ClickyVirtualPadController.FrameTick(); + //if (!EmulatorPaused) + //Global.ClickyVirtualPadController.FrameTick(); #if WINDOWS LuaConsole1.ResumeScripts(false); @@ -2513,6 +2513,8 @@ namespace BizHawk.MultiClient UpdateToolsBefore(); } + Global.ClickyVirtualPadController.FrameTick(); + runloop_fps++; //client input-related duties Global.OSD.ClearGUIText();