Fix: Recording at the end of the movie in TAStudio made two undo items.

This commit is contained in:
SuuperW 2025-06-29 02:17:53 -05:00
parent 9daa4b5ce1
commit d3d739aea9
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,7 @@ namespace BizHawk.Client.EmuHawk
protected override void UpdateBefore() protected override void UpdateBefore()
{ {
if (CurrentTasMovie.IsAtEnd()) if (CurrentTasMovie.IsAtEnd() && !CurrentTasMovie.IsRecording())
{ {
CurrentTasMovie.RecordFrame(CurrentTasMovie.Emulator.Frame, MovieSession.StickySource); CurrentTasMovie.RecordFrame(CurrentTasMovie.Emulator.Frame, MovieSession.StickySource);
} }