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

Fixed the documentation error with lzlib, Added gfx.get3D(), Enhanced the ir library errors returns.

This commit is contained in:
Firew0lf 2015-09-15 23:10:15 +02:00
parent 22bcc3e2d5
commit b47634f699
4 changed files with 60 additions and 11 deletions

View file

@ -26,7 +26,7 @@ return function(title, curdir, exts, type)
local ret = nil
-- Remember and set defaults
--local was3D = gfx.get3D() TODO: implement this thing in ctruLua
local was3D = gfx.get3D()
local wasDefault = gfx.color.getDefault()
local wasBackground = gfx.color.getBackground()
local wasFont = gfx.font.getDefault()
@ -129,7 +129,7 @@ return function(title, curdir, exts, type)
end
-- Reset defaults
--gfx.set3D(was3D)
gfx.set3D(was3D)
gfx.color.setDefault(wasDefault)
gfx.color.setBackground(wasBackground)
gfx.font.setDefault(wasFont)