put the LED light functionality in the UpdateToolsAfter method rather than directly in the frame loop

This commit is contained in:
adelikat 2012-12-08 18:00:55 +00:00
parent 1cc29aa9bb
commit 3f35c9505a
1 changed files with 1 additions and 1 deletions

View File

@ -2588,7 +2588,6 @@ namespace BizHawk.MultiClient
void StepRunLoop_Core()
{
HandleToggleLight();
bool runFrame = false;
runloop_frameadvance = false;
DateTime now = DateTime.Now;
@ -2809,6 +2808,7 @@ namespace BizHawk.MultiClient
VirtualPadForm1.UpdateValues();
SNESGraphicsDebugger1.UpdateToolsAfter();
TraceLogger1.UpdateValues();
HandleToggleLight();
#if WINDOWS
LuaConsole1.LuaImp.FrameRegisterAfter();
if (!fromLua)