mirror of
https://github.com/ctruLua/ctruLua.git
synced 2025-10-28 16:59:30 +00:00
Merge branch 'master' of https://github.com/Firew0lf/ctruLua
This commit is contained in:
commit
2f27ea317c
1 changed files with 1 additions and 1 deletions
|
|
@ -16,7 +16,7 @@ u8 getType(const char *name) {
|
||||||
// module functions
|
// module functions
|
||||||
static int texture_load(lua_State *L) {
|
static int texture_load(lua_State *L) {
|
||||||
const char *path = luaL_checkstring(L, 1);
|
const char *path = luaL_checkstring(L, 1);
|
||||||
u8 place = luaL_optinteger(L, 2, 0); //place in ram by default
|
u8 place = luaL_optinteger(L, 2, SF2D_PLACE_RAM); //place in ram by default
|
||||||
u8 type = luaL_optinteger(L, 3, 3); //type 3 is "search at the end of the filename"
|
u8 type = luaL_optinteger(L, 3, 3); //type 3 is "search at the end of the filename"
|
||||||
|
|
||||||
texture_userdata *texture;
|
texture_userdata *texture;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue