Tastudio - fix an exception when painting on the last frame
This commit is contained in:
parent
7629df2892
commit
ff0cbcadc2
|
@ -260,7 +260,16 @@ namespace BizHawk.Client.EmuHawk
|
|||
TasView.Refresh();
|
||||
|
||||
_startBoolDrawColumn = buttonName;
|
||||
_boolPaintState = _currentTasMovie.BoolIsPressed(frame, buttonName);
|
||||
|
||||
if (frame < _currentTasMovie.InputLogLength)
|
||||
{
|
||||
_boolPaintState = _currentTasMovie.BoolIsPressed(frame, buttonName);
|
||||
}
|
||||
else
|
||||
{
|
||||
Global.ClickyVirtualPadController.IsPressed(buttonName);
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue