From: Dave Murphy Date: Mon, 23 Feb 2015 19:25:31 +0000 (+0000) Subject: update for latest libctru X-Git-Tag: v0.5.0~21 X-Git-Url: https://chaos.moe/g/?a=commitdiff_plain;h=6822f89c4ccdb7e408bec9db8cedb47cbd3691e0;p=corbenik%2Fctrulib.git update for latest libctru --- diff --git a/examples/input/touch-screen/source/main.c b/examples/input/touch-screen/source/main.c index 0e4d83c..7a06db0 100644 --- a/examples/input/touch-screen/source/main.c +++ b/examples/input/touch-screen/source/main.c @@ -18,11 +18,7 @@ int main(int argc, char **argv) { - // Initialize services - srvInit(); - aptInit(); - gfxInit(); - hidInit(NULL); + gfxInitDefault(); //Initialize console on top screen. Using NULL as the second argument tells the console library to use the internal console structure as current one consoleInit(GFX_TOP, NULL); @@ -60,8 +56,5 @@ int main(int argc, char **argv) // Exit services gfxExit(); - hidExit(); - aptExit(); - srvExit(); return 0; }