Move lua drawing to after the frame instead of before

This commit is contained in:
adelikat 2012-10-06 14:24:12 +00:00
parent ea32688bf8
commit 644ed40f59
1 changed files with 4 additions and 4 deletions

View File

@ -2318,10 +2318,6 @@ namespace BizHawk.MultiClient
public void UpdateToolsBefore() public void UpdateToolsBefore()
{ {
LuaConsole1.LuaImp.FrameRegisterBefore(); LuaConsole1.LuaImp.FrameRegisterBefore();
#if WINDOWS
LuaConsole1.ResumeScripts(true);
Global.DisplayManager.PreFrameUpdateLuaSource();
#endif
NESNameTableViewer1.UpdateValues(); NESNameTableViewer1.UpdateValues();
NESPPU1.UpdateValues(); NESPPU1.UpdateValues();
PCEBGViewer1.UpdateValues(); PCEBGViewer1.UpdateValues();
@ -2337,6 +2333,10 @@ namespace BizHawk.MultiClient
/// </summary> /// </summary>
public void UpdateToolsAfter() public void UpdateToolsAfter()
{ {
#if WINDOWS
LuaConsole1.ResumeScripts(true);
Global.DisplayManager.PreFrameUpdateLuaSource();
#endif
RamWatch1.UpdateValues(); RamWatch1.UpdateValues();
RamSearch1.UpdateValues(); RamSearch1.UpdateValues();
HexEditor1.UpdateValues(); HexEditor1.UpdateValues();