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!

This commit is contained in:
adelikat 2015-02-24 03:06:15 +00:00
parent 5a2146bde2
commit 634acd8fe1
1 changed files with 0 additions and 10 deletions
BizHawk.Client.Common/movie/tasproj

View File

@ -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);
}