mirror of
https://github.com/modmii/YAWM-ModMii-Edition.git
synced 2024-11-28 10:54:14 +01:00
"Restarting Wii... " -> "Exiting..."
This commit is contained in:
parent
d8b6c3bb0d
commit
8d52f37e9c
@ -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();
|
|
||||||
}
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user