1
0
Fork 0
mirror of https://github.com/ctruLua/ctruLua.git synced 2025-10-27 16:39:29 +00:00

Fixed some documentation, added some things to sockets, "Fixed" the ROMFS

The romfs is still not working, but it works better.
This commit is contained in:
Firew0lf 2016-04-13 16:19:25 +02:00
parent e7ff54d58c
commit 6b65df0b8e
10 changed files with 115 additions and 70 deletions

View file

@ -525,12 +525,17 @@ static int gfx_target___index(lua_State *L) {
return 1;
}
/***
Console
@section console
*/
/***
Initialize the console. You can print on it using print(), or any function that normally outputs to stdout.
Warning: you can't use a screen for both a console and drawing, you have to disable the console first.
@function console
@tparam[opt=gfx.TOP] number screen screen to draw the console on.
@tparam[opt=true] boolean debug enable stderr output on the console
@tparam[opt=false] boolean debug enable stderr output on the console
*/
u8 consoleScreen = GFX_TOP;
static int gfx_console(lua_State *L) {