]> Chaos Git - corbenik/ctrulib.git/commitdiff
update for latest libctru
authorDave Murphy <davem@devkitpro.org>
Wed, 18 Feb 2015 15:05:29 +0000 (15:05 +0000)
committerDave Murphy <davem@devkitpro.org>
Wed, 18 Feb 2015 15:05:29 +0000 (15:05 +0000)
examples/graphics/bitmap/24bit-color/source/main.c

index 639456f2bfd6f727ae1ea437463ae376c7e246fd..b5c5a64985be8e05d7a1457033bec1f2db942393 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);
@@ -64,8 +60,5 @@ int main(int argc, char **argv)
 
        // Exit services
        gfxExit();
-       hidExit();
-       aptExit();
-       srvExit();
        return 0;
 }