then, we should get rid of the check for the lua dll
This commit is contained in:
parent
10aa7e32d8
commit
6b2a3afe7f
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue