mirror of
https://github.com/modmii/YAWM-ModMii-Edition.git
synced 2024-11-24 17:16:54 +01:00
"Restarting Wii... " -> "Exiting..."
This commit is contained in:
parent
d8b6c3bb0d
commit
8d52f37e9c
@ -1,16 +1,27 @@
|
||||
#include <stdio.h>
|
||||
#include <ogcsys.h>
|
||||
|
||||
#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();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user