From: Dave Murphy Date: Wed, 18 Feb 2015 15:05:29 +0000 (+0000) Subject: update for latest libctru X-Git-Tag: v0.5.0~33 X-Git-Url: https://chaos.moe/g/?a=commitdiff_plain;h=6be71c218ea235b45bed899bcc5c47147f4ae810;p=corbenik%2Fctrulib.git update for latest libctru --- 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; }