TAStudio - capture lag log during playback

This commit is contained in:
adelikat 2014-07-13 20:51:19 +00:00
parent 8ab278535e
commit 57c86f7491
2 changed files with 11 additions and 1 deletions

View File

@ -36,6 +36,11 @@ namespace BizHawk.Client.Common
{
get
{
if (index == 9)
{
int zzz = 0;
}
return new TasMovieRecord
{
State = StateManager[index],
@ -170,6 +175,11 @@ namespace BizHawk.Client.Common
StateManager.Capture();
}
if (Global.Emulator.Frame == frame && frame >= LagLog.Count)
{
LagLog.Add(Global.Emulator.IsLagFrame);
}
return base.GetInput(frame);
}

View File

@ -141,7 +141,7 @@ namespace BizHawk.Client.EmuHawk
{
if (e.NewCell.Row.HasValue)
{
GoToFrame(e.NewCell.Row.Value);
GoToFrame(e.NewCell.Row.Value - 1);
}
}
else if (_startFrameDrag)