From 6be71c218ea235b45bed899bcc5c47147f4ae810 Mon Sep 17 00:00:00 2001 From: Dave Murphy Date: Wed, 18 Feb 2015 15:05:29 +0000 Subject: [PATCH] update for latest libctru --- examples/graphics/bitmap/24bit-color/source/main.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/examples/graphics/bitmap/24bit-color/source/main.c b/examples/graphics/bitmap/24bit-color/source/main.c index 639456f..b5c5a64 100644 --- a/examples/graphics/bitmap/24bit-color/source/main.c +++ b/examples/graphics/bitmap/24bit-color/source/main.c @@ -21,11 +21,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); @@ -64,8 +60,5 @@ int main(int argc, char **argv) // Exit services gfxExit(); - hidExit(); - aptExit(); - srvExit(); return 0; }