diff --git a/src/lua/linit.c b/src/lua/linit.c index 5ef34c07..6ecdfc5d 100644 --- a/src/lua/linit.c +++ b/src/lua/linit.c @@ -107,6 +107,13 @@ LUALIB_API int luaopen_platform (lua_State *L) // End of platform module section // **************************************************************************** + +// Dummy open function +int luaopen_dummy(lua_State *L) +{ + return 0; +} + #undef _ROM #define _ROM( name, openf, table ) { name, openf }, @@ -144,10 +151,3 @@ LUALIB_API void luaL_openlibs (lua_State *L) { } } - -// Dummy open function -int luaopen_dummy(lua_State *L) -{ - return 0; -} - diff --git a/src/main.c b/src/main.c index 5a1b91b4..b0e78a68 100644 --- a/src/main.c +++ b/src/main.c @@ -38,10 +38,6 @@ const char *boot_order[] = { "/rom/autorun.lua", "/rom/autorun.lc", #endif -#if defined(BUILD_WOFS) - "/wo/autorun.lua", - "/wo/autorun.lc", -#endif #if defined(BUILD_SEMIFS) "/semi/autorun.lua", "/semi/autorun.lc",