Skip to content

Commit 6933d86

Browse files
committed
Fix: Undoing recording frame 0 then advancing 1 frame could display incorrect inputs.
1 parent 07cdc70 commit 6933d86

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/BizHawk.Client.Common/movie/tasproj/TasMovie.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ public void InvalidateEntireGreenzone()
152152
/// </summary>
153153
public string DisplayValue(int frame, string buttonName)
154154
{
155-
if (_displayCache.Frame != frame)
155+
if (_displayCache.Frame != frame || Log.Count == 1)
156156
{
157157
_displayCache.Controller ??= new Bk2Controller(Session.MovieController.Definition, LogKey);
158158
_displayCache.Controller.SetFromMnemonic(Log[frame]);

0 commit comments

Comments
 (0)