"Restarting Wii... " -> "Exiting..."

This commit is contained in:
Naim2000 2024-07-26 16:14:29 -05:00
parent d8b6c3bb0d
commit 8d52f37e9c

View File

@ -1,16 +1,27 @@
#include <stdio.h> #include <stdio.h>
#include <ogcsys.h> #include <ogcsys.h>
#include "restart.h"
#include "nand.h" #include "nand.h"
#include "sys.h" #include "sys.h"
#include "wpad.h" #include "wpad.h"
#include "video.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) void Restart(void)
{ {
Con_Clear(); Con_Clear();
printf("\n Restarting Wii..."); puts("\n Exiting...");
fflush(stdout); fflush(stdout);
/* Disable NAND emulator */ /* Disable NAND emulator */
@ -19,18 +30,3 @@ void Restart(void)
/* Load system menu */ /* Load system menu */
Sys_LoadMenu(); Sys_LoadMenu();
} }
void Restart_Wait(void)
{
printf("\n");
printf(" Press any button to restart...");
fflush(stdout);
/* Wait for button */
Wpad_WaitButtons();
/* Restart */
Restart();
}