Fix CIA causing instability
Fixed an issue whereby after exiting the ctrmus CIA application, the user could not load another application. Signed-off-by: Mahyar Koshkouei <deltabeard@users.noreply.github.com>
This commit is contained in:
@@ -45,6 +45,7 @@ int main(int argc, char **argv)
|
|||||||
int from = 0;
|
int from = 0;
|
||||||
|
|
||||||
gfxInitDefault();
|
gfxInitDefault();
|
||||||
|
sdmcInit();
|
||||||
consoleInit(GFX_TOP, &topScreen);
|
consoleInit(GFX_TOP, &topScreen);
|
||||||
consoleInit(GFX_BOTTOM, &bottomScreen);
|
consoleInit(GFX_BOTTOM, &bottomScreen);
|
||||||
consoleSelect(&bottomScreen);
|
consoleSelect(&bottomScreen);
|
||||||
@@ -244,6 +245,7 @@ out:
|
|||||||
puts("Exiting...");
|
puts("Exiting...");
|
||||||
|
|
||||||
gfxExit();
|
gfxExit();
|
||||||
|
sdmcExit();
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
err:
|
err:
|
||||||
|
|||||||
Reference in New Issue
Block a user