TAStudio - capture lag log during playback
This commit is contained in:
parent
8ab278535e
commit
57c86f7491
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue