diff --git a/sdcard/3ds/ctruLua/example.lua b/sdcard/3ds/ctruLua/example.lua index add31a2..f5598bb 100644 --- a/sdcard/3ds/ctruLua/example.lua +++ b/sdcard/3ds/ctruLua/example.lua @@ -9,6 +9,7 @@ local dMul = 1 local angle = 0 local texture1 = gfx.texture.load("sdmc:/3ds/ctruLua/icon.png", gfx.texture.PLACE_VRAM, gfx.texture.TYPE_PNG); +if not texture1 then error("Giants ducks came from another planet") end gfx.color.setBackground(gfx.color.RGBA8(200, 200, 200)) gfx.set3D(true) diff --git a/sdcard/3ds/ctruLua/icon.png b/sdcard/3ds/ctruLua/icon.png new file mode 100644 index 0000000..f035c56 Binary files /dev/null and b/sdcard/3ds/ctruLua/icon.png differ