Lua - rehook up emu.registerbefore() and emu.registerafter(), but they have memory leaks, don't use them yet
This commit is contained in:
parent
adeca3fd25
commit
ab761066e9
|
@ -376,8 +376,8 @@ namespace BizHawk.MultiClient
|
|||
"limitframerate",
|
||||
"displayvsync",
|
||||
"enablerewind",
|
||||
//"registerbefore",
|
||||
//"registerafter",
|
||||
"registerbefore",
|
||||
"registerafter",
|
||||
"on_snoop",
|
||||
};
|
||||
|
||||
|
|
|
@ -878,23 +878,23 @@ namespace BizHawk.MultiClient
|
|||
}
|
||||
}
|
||||
}
|
||||
LuaImp.gui_drawFinishEmu();
|
||||
//LuaImp.gui_drawFinishEmu();
|
||||
}
|
||||
|
||||
public void StartLuaDrawing()
|
||||
{
|
||||
//if (luaList != null && luaList.Count > 0)
|
||||
//{
|
||||
// LuaImp.gui_drawNewEmu();
|
||||
//}
|
||||
if (luaList != null && luaList.Count > 0)
|
||||
{
|
||||
LuaImp.gui_drawNewEmu();
|
||||
}
|
||||
}
|
||||
|
||||
public void EndLuaDrawing()
|
||||
{
|
||||
//if (luaList != null && luaList.Count > 0)
|
||||
//{
|
||||
// LuaImp.gui_drawFinishEmu();
|
||||
//}
|
||||
if (luaList != null && luaList.Count > 0)
|
||||
{
|
||||
LuaImp.gui_drawFinishEmu();
|
||||
}
|
||||
}
|
||||
|
||||
public bool IsRunning()
|
||||
|
|
Loading…
Reference in New Issue