From dd5a0e908e5e31ca54cfd5b1b276e33e094d2ff6 Mon Sep 17 00:00:00 2001 From: "aquanull@gmail.com" Date: Mon, 24 Dec 2018 13:54:32 +0800 Subject: [PATCH] Re-enabled running the Lua script when loaded. --- 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 e09333e3..da812a0a 100644 --- a/src/lua-engine.cpp +++ b/src/lua-engine.cpp @@ -6178,7 +6178,7 @@ int FCEU_LoadLuaCode(const char *filename, const char *arg) { //if (wasPaused) FCEUI_ToggleEmulationPause(); // And run it right now. :) - //FCEU_LuaFrameBoundary(); + FCEU_LuaFrameBoundary(); // Set up our protection hook to be executed once every 10,000 bytecode instructions. //lua_sethook(thread, FCEU_LuaHookFunction, LUA_MASKCOUNT, 10000);