diff --git a/source/main.c b/source/main.c index b86ba68..bd36b2b 100644 --- a/source/main.c +++ b/source/main.c @@ -81,6 +81,7 @@ void draw_credits() Console_SetPosition(26, 20); printf("Press Any Button To Return ..... "); } + void Draw_Disclaimer() { ClearScreen(); @@ -102,6 +103,7 @@ void Draw_Disclaimer() printf("\n\n\n\n\t\t\t\t[A] Continue [Home] Exit\n"); wait_key(WPAD_BUTTON_A); } + void handleError(const char *string, int errorval) { printf("Unexpected Error: %s Value: %d\n", string, errorval); @@ -434,7 +436,7 @@ int main(int argc, char **argv) video = 1; country = 110; } - else if (sysmenu_region == 255) + else if (sysmenu_region == 75) { // KOR lang = 1; area = 7; @@ -442,6 +444,13 @@ int main(int argc, char **argv) video = 0; country = 136; } + else + { + printf("\nUnknown System Menu region \"%u\".\n", sysmenu_region); + printf("Press any key to quit\n"); + wait_anyKey(); + exit(0); + } saveSettings(); break; case 9: