Re-enabled running the Lua script when loaded.

This commit is contained in:
aquanull@gmail.com 2018-12-24 13:54:32 +08:00
parent 08c602a3f2
commit dd5a0e908e
1 changed files with 1 additions and 1 deletions

View File

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