Lua - rehook up emu.registerbefore() and emu.registerafter(), but they have memory leaks, don't use them yet

This commit is contained in:
adelikat 2012-10-12 14:33:54 +00:00
parent adeca3fd25
commit ab761066e9
2 changed files with 11 additions and 11 deletions

View File

@ -376,8 +376,8 @@ namespace BizHawk.MultiClient
"limitframerate",
"displayvsync",
"enablerewind",
//"registerbefore",
//"registerafter",
"registerbefore",
"registerafter",
"on_snoop",
};

View File

@ -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()