From 61586d66022e8375fad484b76fd241e037687a16 Mon Sep 17 00:00:00 2001 From: zeromus Date: Thu, 31 Jul 2008 23:18:06 +0000 Subject: [PATCH] take out lua panic timer. it was making guis crash? maybe? --- src/lua-engine.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lua-engine.cpp b/src/lua-engine.cpp index add9c443..87c2abc1 100644 --- a/src/lua-engine.cpp +++ b/src/lua-engine.cpp @@ -1576,7 +1576,7 @@ int FCEU_LoadLuaCode(const char *filename) { //FCEU_LuaFrameBoundary(); // Set up our protection hook to be executed once every 10,000 bytecode instructions. - lua_sethook(thread, FCEU_LuaHookFunction, LUA_MASKCOUNT, 10000); + //lua_sethook(thread, FCEU_LuaHookFunction, LUA_MASKCOUNT, 10000); // We're done. return 1;