mirror of
https://github.com/ctruLua/ctruLua.git
synced 2025-10-27 16:39:29 +00:00
Renamed item.fileSize to item.size in fs.list() return value, enabled 3D in the editor, added a lot of missing documentation
For the return values, I followed this rule: if the fuction returns true on success, it should return false, error on error; for every other case it should return nil, error on error. Also, who doesn't want to edit code in 3D ? The line depth depends on the indentation level.
This commit is contained in:
parent
2b7d37304d
commit
358b68c643
13 changed files with 143 additions and 72 deletions
|
|
@ -117,7 +117,9 @@ Setup the new 3DS CPU features (overclock, 4 cores ...)
|
|||
@newonly
|
||||
@function configureNew3DSCPU
|
||||
@tparam boolean enable enable the New3DS CPU features
|
||||
@treturn boolean `true` if everything went fine
|
||||
@treturn[1] boolean `true` if everything went fine
|
||||
@treturn[2] boolean `false` in case of error
|
||||
@treturn[2] integer error code
|
||||
*/
|
||||
static int ptm_configureNew3DSCPU(lua_State *L) {
|
||||
u8 conf = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue