mirror of
https://github.com/mogzol/sharpii.git
synced 2024-11-14 14:45:05 +01:00
34 lines
442 B
C
34 lines
442 B
C
|
#include <stdio.h>
|
||
|
#include <ogcsys.h>
|
||
|
|
||
|
#include "sys.h"
|
||
|
#include "wpad.h"
|
||
|
|
||
|
|
||
|
void Restart(void)
|
||
|
{
|
||
|
printf("\n Restarting Wii...");
|
||
|
fflush(stdout);
|
||
|
|
||
|
/* Load system menu */
|
||
|
Sys_LoadMenu();
|
||
|
}
|
||
|
|
||
|
void Restart_Wait(void)
|
||
|
{
|
||
|
printf("\n");
|
||
|
|
||
|
printf(" Press any button to restart...");
|
||
|
fflush(stdout);
|
||
|
|
||
|
/* Wait for button */
|
||
|
Wpad_WaitButtons();
|
||
|
|
||
|
printf(" Restarting Wii...");
|
||
|
fflush(stdout);
|
||
|
|
||
|
/* Load system menu */
|
||
|
Sys_LoadMenu();
|
||
|
}
|
||
|
|