increment rerecords when recording frames in a TasMovie
I believe this is more correct than what was previously done. In particular the lag log and statemanager should always be invalidated at the same time. Maybe the `this.IsRecording()` check should be removed altogether?
This commit is contained in:
parent
76a30e5d71
commit
b2131287be
|
@ -25,13 +25,11 @@ namespace BizHawk.Client.Common
|
||||||
|
|
||||||
Changes = true;
|
Changes = true;
|
||||||
|
|
||||||
LagLog.RemoveFrom(frame);
|
|
||||||
LagLog[frame] = _inputPollable.IsLagFrame;
|
LagLog[frame] = _inputPollable.IsLagFrame;
|
||||||
|
|
||||||
if (this.IsRecording())
|
if (this.IsRecording())
|
||||||
{
|
{
|
||||||
TasStateManager.InvalidateAfter(frame);
|
InvalidateAfter(frame);
|
||||||
GreenzoneInvalidated(frame);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (frame != 0)
|
if (frame != 0)
|
||||||
|
|
Loading…
Reference in New Issue