Tastudio - fix exception when attempting to scroll before frame 0
This commit is contained in:
parent
69e9bc22d2
commit
907ab29aaa
|
@ -264,11 +264,14 @@ namespace BizHawk.Client.EmuHawk
|
||||||
GoToFrame(Global.Emulator.Frame + 1);
|
GoToFrame(Global.Emulator.Frame + 1);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
{
|
||||||
|
if (Global.Emulator.Frame > 0)
|
||||||
{
|
{
|
||||||
GoToFrame(Global.Emulator.Frame - 1);
|
GoToFrame(Global.Emulator.Frame - 1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
private void TasView_MouseDoubleClick(object sender, MouseEventArgs e)
|
private void TasView_MouseDoubleClick(object sender, MouseEventArgs e)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue