make sure the clickyvirtualcontroller does in fact clear its state once per frame. fixes weird behavior in frame advance

This commit is contained in:
goyuken 2012-11-18 15:25:55 +00:00
parent 8e43109a01
commit f1f9331e6b
1 changed files with 4 additions and 2 deletions

View File

@ -508,8 +508,8 @@ namespace BizHawk.MultiClient
Global.AutofireStickyXORAdapter.MassToggleStickyState(Global.AutoFireController.PressedButtons); Global.AutofireStickyXORAdapter.MassToggleStickyState(Global.AutoFireController.PressedButtons);
} }
if (!EmulatorPaused) //if (!EmulatorPaused)
Global.ClickyVirtualPadController.FrameTick(); //Global.ClickyVirtualPadController.FrameTick();
#if WINDOWS #if WINDOWS
LuaConsole1.ResumeScripts(false); LuaConsole1.ResumeScripts(false);
@ -2513,6 +2513,8 @@ namespace BizHawk.MultiClient
UpdateToolsBefore(); UpdateToolsBefore();
} }
Global.ClickyVirtualPadController.FrameTick();
runloop_fps++; runloop_fps++;
//client input-related duties //client input-related duties
Global.OSD.ClearGUIText(); Global.OSD.ClearGUIText();