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:
Morilli 2024-09-07 14:22:17 +02:00
parent 76a30e5d71
commit b2131287be
1 changed files with 1 additions and 3 deletions

View File

@ -25,13 +25,11 @@ namespace BizHawk.Client.Common
Changes = true;
LagLog.RemoveFrom(frame);
LagLog[frame] = _inputPollable.IsLagFrame;
if (this.IsRecording())
{
TasStateManager.InvalidateAfter(frame);
GreenzoneInvalidated(frame);
InvalidateAfter(frame);
}
if (frame != 0)