update examples to use gfxInitDefault
This commit is contained in:
parent
897498f0c1
commit
81e93f867b
@ -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...)
|
||||||
|
|
||||||
|
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
int main(int argc, char** argv)
|
int main(int argc, char** argv)
|
||||||
{
|
{
|
||||||
// Initialize services
|
// Initialize services
|
||||||
gfxInit();
|
gfxInitDefault();
|
||||||
initCfgu();
|
initCfgu();
|
||||||
|
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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();
|
||||||
|
|
||||||
|
@ -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;
|
||||||
|
@ -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;
|
||||||
|
@ -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
|
||||||
|
@ -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();
|
||||||
|
@ -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;
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user