Fix: Undoing recording frame 0 then advancing 1 frame could display incorrect inputs.

This commit is contained in:
SuuperW 2025-06-29 02:20:18 -05:00
parent d3d739aea9
commit 505dc358e1
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -152,7 +152,7 @@ namespace BizHawk.Client.Common
/// </summary>
public string DisplayValue(int frame, string buttonName)
{
if (_displayCache.Frame != frame)
if (_displayCache.Frame != frame || Log.Count == 1)
{
_displayCache.Controller ??= new Bk2Controller(Session.MovieController.Definition, LogKey);
_displayCache.Controller.SetFromMnemonic(Log[frame]);