diff --git a/src/lua-engine.cpp b/src/lua-engine.cpp index 0c77d721..d28ed0fb 100644 --- a/src/lua-engine.cpp +++ b/src/lua-engine.cpp @@ -4401,16 +4401,6 @@ int FCEU_LoadLuaCode(const char *filename) { if (!L) { - #ifdef WIN32 - HMODULE test = LoadLibrary("lua5.1.dll"); - if(!test) - { - FCEUD_PrintError("Couldn't initialize lua system due to failure loading lua5.1.dll"); - return 0; - } - FreeLibrary(test); - #endif - L = lua_open(); luaL_openlibs(L);