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 srvInit(); // Needed
aptInit(); // Needed aptInit(); // Needed
gfxInit(); // Init graphic stuff gfxInitDefault(); // Init graphic stuff
hidInit(NULL); // For input (buttons, touchscreen...) hidInit(NULL); // For input (buttons, touchscreen...)

View File

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

View File

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

View File

@ -20,7 +20,7 @@ int main(int argc, char **argv)
// Initialize services // Initialize services
srvInit(); srvInit();
aptInit(); aptInit();
gfxInit(); gfxInitDefault();
hidInit(NULL); 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 //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(); srvInit();
aptInit(); aptInit();
hidInit(NULL); hidInit(NULL);
gfxInit(); gfxInitDefault();
//gfxSet3D(true); // uncomment if using stereoscopic 3D //gfxSet3D(true); // uncomment if using stereoscopic 3D
httpcInit(); httpcInit();

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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