From 6b2a3afe7f653d0d84895e816c7114c76b2eedd0 Mon Sep 17 00:00:00 2001 From: zeromus Date: Sat, 31 Oct 2009 14:08:06 +0000 Subject: [PATCH] then, we should get rid of the check for the lua dll --- src/lua-engine.cpp | 10 ---------- 1 file changed, 10 deletions(-) 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);