From 8d52f37e9cbc20721f1ec6bc1eedc1668c37d935 Mon Sep 17 00:00:00 2001 From: Naim2000 Date: Fri, 26 Jul 2024 16:14:29 -0500 Subject: [PATCH] "Restarting Wii... " -> "Exiting..." --- source/restart.c | 30 +++++++++++++----------------- 1 file changed, 13 insertions(+), 17 deletions(-) diff --git a/source/restart.c b/source/restart.c index d979817..e0895c1 100644 --- a/source/restart.c +++ b/source/restart.c @@ -1,16 +1,27 @@ #include #include +#include "restart.h" #include "nand.h" #include "sys.h" #include "wpad.h" #include "video.h" +void Restart_Wait(void) +{ + puts("\n Press any button to exit..."); + fflush(stdout); + + /* Wait for button */ + Wpad_WaitButtons(); + + Restart(); +} void Restart(void) { - Con_Clear (); - printf("\n Restarting Wii..."); + Con_Clear(); + puts("\n Exiting..."); fflush(stdout); /* Disable NAND emulator */ @@ -19,18 +30,3 @@ void Restart(void) /* Load system menu */ Sys_LoadMenu(); } - -void Restart_Wait(void) -{ - printf("\n"); - - printf(" Press any button to restart..."); - fflush(stdout); - - /* Wait for button */ - Wpad_WaitButtons(); - - /* Restart */ - Restart(); -} -