]> Chaos Git - corbenik/ctrulib.git/commitdiff
update for latest libctru
authorDave Murphy <davem@devkitpro.org>
Mon, 23 Feb 2015 19:25:31 +0000 (19:25 +0000)
committerDave Murphy <davem@devkitpro.org>
Mon, 23 Feb 2015 19:25:31 +0000 (19:25 +0000)
examples/input/touch-screen/source/main.c

index 0e4d83caab749a1f92610c81e074645fe5eb02ae..7a06db0bb5301be7ebcce6766c679f9812c6ccdd 100644 (file)
 
 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;
 }