Skip to content

Commit 73ca251

Browse files
committed
Fix: Undoing recording frame 0 then advancing 1 frame could display incorrect inputs.
1 parent 2155ddf commit 73ca251

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
@@ -149,7 +149,7 @@ public void InvalidateEntireGreenzone()
149149
/// </summary>
150150
public string DisplayValue(int frame, string buttonName)
151151
{
152-
if (_displayCache.Frame != frame)
152+
if (_displayCache.Frame != frame || Log.Count == 1)
153153
{
154154
_displayCache.Controller ??= new Bk2Controller(Session.MovieController.Definition, LogKey);
155155
_displayCache.Controller.SetFromMnemonic(Log[frame]);

0 commit comments

Comments
 (0)