TAStudio - don't disable lua scripts while seekinng, even the comment suggests this is a sloppy copy/paste from lua code that definitely would want to disable things

This commit is contained in:
adelikat 2020-05-03 20:33:35 -05:00
parent 1b17cb4297
commit e906f41dc7
1 changed files with 1 additions and 3 deletions

View File

@ -1000,9 +1000,7 @@ namespace BizHawk.Client.EmuHawk
// why not use this? because I'm not letting the form freely run. it all has to be under this loop.
// i could use this and then poll StepRunLoop_Core() repeatedly, but.. that's basically what I'm doing
// PauseOnFrame = frame;
// can't re-enter lua while doing this
MainForm.SuppressLua = true;
while (Emulator.Frame != frame)
{
MainForm.SeekFrameAdvance();