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

Updated httpc.c to the latest ctrulib, fixed the cfgu example.

The name is still buggy, can't find why.
This commit is contained in:
Firew0lf 2016-02-24 14:46:11 +01:00
parent 499bfa99a3
commit a380f09a34
2 changed files with 53 additions and 9 deletions

View file

@ -36,6 +36,7 @@ local models = {
[cfgu.MODEL_N3DSXL] = "New 3DS XL"
}
cfgu.init()
while ctr.run() do
hid.read()
keys = hid.keys()
@ -45,7 +46,7 @@ while ctr.run() do
gfx.text(2, 2, "CFGU example")
gfx.text(2, 20, "Region: "..regions[cfgu.getRegion()])
gfx.text(2, 30, "Model: "..models[cfgu.getModel()])
gfx.text(2, 40, "Language: "..models[cfgu.getLanguage()])
gfx.text(2, 40, "Language: "..languages[cfgu.getLanguage()])
gfx.text(2, 50, "Username: "..cfgu.getUsername())
local m,d = cfgu.getBirthday()
gfx.text(2, 60, "Birthday: "..d.."/"..m)