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:
parent
e7ff54d58c
commit
6b65df0b8e
10 changed files with 115 additions and 70 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue