mirror of
https://github.com/ctruLua/ctruLua.git
synced 2025-10-27 16:39:29 +00:00
Added "sdmc:/3ds/ctruLua/libs/" to the libraries path
You can now require("sprite") !
This commit is contained in:
parent
29ed61131d
commit
b5036ecff8
1 changed files with 7 additions and 5 deletions
|
|
@ -188,12 +188,14 @@
|
|||
|
||||
#else /* }{ */
|
||||
|
||||
#define LUA_ROOT "/usr/local/"
|
||||
#define LUA_LDIR LUA_ROOT "share/lua/" LUA_VDIR "/"
|
||||
#define LUA_CDIR LUA_ROOT "lib/lua/" LUA_VDIR "/"
|
||||
#define LUA_ROOT "sdmc:/"
|
||||
#define LUA_LDIR LUA_ROOT "3ds/ctruLua/libs/"
|
||||
#define LUA_CDIR LUA_ROOT "3ds/ctruLua/libs/"
|
||||
#define LUA_PATH_DEFAULT \
|
||||
LUA_LDIR"?.lua;" LUA_LDIR"?/init.lua;" \
|
||||
LUA_CDIR"?.lua;" LUA_CDIR"?/init.lua;" \
|
||||
LUA_LDIR"?.lua;" LUA_LDIR"?/init.lua;" \
|
||||
LUA_LDIR LUA_VDIR"?.lua;" LUA_LDIR LUA_VDIR"?/init.lua;" \
|
||||
/* LUA_CDIR"?.lua;" LUA_CDIR"?/init.lua;" \
|
||||
LUA_CDIR LUA_VDIR"?.lua;" LUA_CDIR LUA_VDIR"?/init.lua;" \ */
|
||||
"./?.lua;" "./?/init.lua"
|
||||
#define LUA_CPATH_DEFAULT \
|
||||
LUA_CDIR"?.so;" LUA_CDIR"loadall.so;" "./?.so"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue