update examples to use gfxInitDefault

This commit is contained in:
Dave Murphy 2015-01-03 00:06:22 +00:00
parent 897498f0c1
commit 81e93f867b
11 changed files with 11 additions and 11 deletions

View File

@ -8,7 +8,7 @@ int main()
{
srvInit(); // Needed
aptInit(); // Needed
gfxInit(); // Init graphic stuff
gfxInitDefault(); // Init graphic stuff
hidInit(NULL); // For input (buttons, touchscreen...)

View File

@ -6,7 +6,7 @@
int main(int argc, char** argv)
{
// Initialize services
gfxInit();
gfxInitDefault();
initCfgu();

View File

@ -192,7 +192,7 @@ int main(int argc, char** argv)
//setup services
srvInit();
aptInit();
gfxInit();
gfxInitDefault();
hidInit(NULL);
//initialize GPU

View File

@ -20,7 +20,7 @@ int main(int argc, char **argv)
// Initialize services
srvInit();
aptInit();
gfxInit();
gfxInitDefault();
hidInit(NULL);
//Initialize console on top screen. Using NULL as the second argument tells the console library to use the internal console structure as current one

View File

@ -91,7 +91,7 @@ int main()
srvInit();
aptInit();
hidInit(NULL);
gfxInit();
gfxInitDefault();
//gfxSet3D(true); // uncomment if using stereoscopic 3D
httpcInit();

View File

@ -8,7 +8,7 @@ int main()
srvInit();
aptInit();
hidInit(NULL);
gfxInit();
gfxInitDefault();
//gfxSet3D(true); // uncomment if using stereoscopic 3D
val = 0x22447899;

View File

@ -15,7 +15,7 @@ int main()
srvInit();
aptInit();
gfxInit();
gfxInitDefault();
hidInit(NULL);
if(CSND_initialize(NULL)==0)audio_initialized = 1;

View File

@ -110,7 +110,7 @@ int main()
srvInit();
aptInit();
hidInit(NULL);
gfxInit();
gfxInitDefault();
fsInit();
sdmcInit();
//gfxSet3D(true); // uncomment if using stereoscopic 3D

View File

@ -15,7 +15,7 @@ int main()
srvInit();
aptInit();
hidInit(NULL);
gfxInit();
gfxInitDefault();
//gfxSet3D(true); // uncomment if using stereoscopic 3D
qtmInit();

View File

@ -45,7 +45,7 @@ void renderEffect()
int main(int argc, char** argv)
{
gfxInit(); //makes displaying to screen easier
gfxInitDefault(); //makes displaying to screen easier
FILE *file = fopen("test.bin","rb");
if (file == NULL) goto exit;

View File

@ -8,7 +8,7 @@ int main()
srvInit();
aptInit();
hidInit(NULL);
gfxInit();
gfxInitDefault();
//gfxSet3D(true); // uncomment if using stereoscopic 3D
// Main loop