Skip to content

Commit

Permalink
gfxInitDefault only after APT jump fails
Browse files Browse the repository at this point in the history
  • Loading branch information
lifehackerhansol committed Feb 20, 2022
1 parent 8334b99 commit 59792f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion forwarder/source/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ SOFTWARE.

int main() {
romfsInit();
gfxInitDefault();
amInit();
mkdir("sdmc:/_nds", 0777);
mkdir("sdmc:/_nds/ntr-forwarder", 0777);
Expand All @@ -55,6 +54,7 @@ int main() {
}
}

gfxInitDefault();
consoleInit(GFX_TOP, NULL);
printf("Failed to launch CIA.\n\nPlease reinstall bootstrap.cia from\nYANBF release.\n\nPress START to exit.");
while (aptMainLoop()) {
Expand Down

0 comments on commit 59792f4

Please sign in to comment.