From 634acd8fe1e0ad58994d52fefa26a863987e5869 Mon Sep 17 00:00:00 2001 From: adelikat Date: Tue, 24 Feb 2015 03:06:15 +0000 Subject: [PATCH] TAStudio - Remove some code that captures lag and savestate info of the current frame when requesting input, because that's a bogus notion, such methods shoudln't have side effects. I was going to hack it for the scenarios where it needs to happen, but I couldn't find any downside to just deleting the code, if there's regressions traced back to this commit, let me know! --- BizHawk.Client.Common/movie/tasproj/TasMovie.cs | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/BizHawk.Client.Common/movie/tasproj/TasMovie.cs b/BizHawk.Client.Common/movie/tasproj/TasMovie.cs index 53eff6aded..7e41a6934c 100644 --- a/BizHawk.Client.Common/movie/tasproj/TasMovie.cs +++ b/BizHawk.Client.Common/movie/tasproj/TasMovie.cs @@ -303,16 +303,6 @@ namespace BizHawk.Client.Common public override IController GetInputState(int frame) { - if (frame == Global.Emulator.Frame) // Take this opportunity to capture lag and state info if we do not have it - { - LagLog[Global.Emulator.Frame] = Global.Emulator.AsInputPollable().IsLagFrame; - - if (!StateManager.HasState(frame)) - { - StateManager.Capture(); - } - } - return base.GetInputState(frame); }