move avi writer call so it captures lua messages

I think it doesn't outrun anything critical this way
This commit is contained in:
vadosnaprimer 2018-01-03 19:35:37 +03:00
parent 761c1532e0
commit 68a0fcf408
1 changed files with 5 additions and 5 deletions

View File

@ -2969,11 +2969,6 @@ namespace BizHawk.Client.EmuHawk
Global.CheatList.Pulse();
if (!PauseAvi)
{
AvFrameAdvance();
}
if (IsLagFrame && Global.Config.AutofireLagFrames)
{
Global.AutoFireController.IncrementStarts();
@ -2997,6 +2992,11 @@ namespace BizHawk.Client.EmuHawk
UpdateToolsAfter(SuppressLua);
}
if (!PauseAvi)
{
AvFrameAdvance();
}
if (GlobalWin.Tools.IsLoaded<TAStudio>() &&
GlobalWin.Tools.TAStudio.LastPositionFrame == Emulator.Frame)
{