update examples to use gfxInitDefault
This commit is contained in:
parent
897498f0c1
commit
81e93f867b
@ -8,7 +8,7 @@ int main()
|
||||
{
|
||||
srvInit(); // Needed
|
||||
aptInit(); // Needed
|
||||
gfxInit(); // Init graphic stuff
|
||||
gfxInitDefault(); // Init graphic stuff
|
||||
hidInit(NULL); // For input (buttons, touchscreen...)
|
||||
|
||||
|
||||
|
@ -6,7 +6,7 @@
|
||||
int main(int argc, char** argv)
|
||||
{
|
||||
// Initialize services
|
||||
gfxInit();
|
||||
gfxInitDefault();
|
||||
initCfgu();
|
||||
|
||||
|
||||
|
@ -192,7 +192,7 @@ int main(int argc, char** argv)
|
||||
//setup services
|
||||
srvInit();
|
||||
aptInit();
|
||||
gfxInit();
|
||||
gfxInitDefault();
|
||||
hidInit(NULL);
|
||||
|
||||
//initialize GPU
|
||||
|
@ -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
|
||||
|
@ -91,7 +91,7 @@ int main()
|
||||
srvInit();
|
||||
aptInit();
|
||||
hidInit(NULL);
|
||||
gfxInit();
|
||||
gfxInitDefault();
|
||||
//gfxSet3D(true); // uncomment if using stereoscopic 3D
|
||||
httpcInit();
|
||||
|
||||
|
@ -8,7 +8,7 @@ int main()
|
||||
srvInit();
|
||||
aptInit();
|
||||
hidInit(NULL);
|
||||
gfxInit();
|
||||
gfxInitDefault();
|
||||
//gfxSet3D(true); // uncomment if using stereoscopic 3D
|
||||
|
||||
val = 0x22447899;
|
||||
|
@ -15,7 +15,7 @@ int main()
|
||||
|
||||
srvInit();
|
||||
aptInit();
|
||||
gfxInit();
|
||||
gfxInitDefault();
|
||||
hidInit(NULL);
|
||||
|
||||
if(CSND_initialize(NULL)==0)audio_initialized = 1;
|
||||
|
@ -110,7 +110,7 @@ int main()
|
||||
srvInit();
|
||||
aptInit();
|
||||
hidInit(NULL);
|
||||
gfxInit();
|
||||
gfxInitDefault();
|
||||
fsInit();
|
||||
sdmcInit();
|
||||
//gfxSet3D(true); // uncomment if using stereoscopic 3D
|
||||
|
@ -15,7 +15,7 @@ int main()
|
||||
srvInit();
|
||||
aptInit();
|
||||
hidInit(NULL);
|
||||
gfxInit();
|
||||
gfxInitDefault();
|
||||
//gfxSet3D(true); // uncomment if using stereoscopic 3D
|
||||
|
||||
qtmInit();
|
||||
|
@ -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;
|
||||
|
@ -8,7 +8,7 @@ int main()
|
||||
srvInit();
|
||||
aptInit();
|
||||
hidInit(NULL);
|
||||
gfxInit();
|
||||
gfxInitDefault();
|
||||
//gfxSet3D(true); // uncomment if using stereoscopic 3D
|
||||
|
||||
// Main loop
|
||||
|
Loading…
Reference in New Issue
Block a user