From 6822f89c4ccdb7e408bec9db8cedb47cbd3691e0 Mon Sep 17 00:00:00 2001 From: Dave Murphy Date: Mon, 23 Feb 2015 19:25:31 +0000 Subject: [PATCH] update for latest libctru --- examples/input/touch-screen/source/main.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) 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; }