CfgUSBLoader/source/restart.c
2015-01-17 10:11:08 +00:00

35 lines
478 B
C

#include <stdio.h>
#include <ogcsys.h>
#include "sys.h"
#include "wpad.h"
#include "video.h"
#include "gettext.h"
#include "util.h"
void Restart(void)
{
printf("\n");
printf_(gt("Restarting Wii..."));
fflush(stdout);
__console_flush(0);
/* Load system menu */
Sys_LoadMenu();
}
void Restart_Wait(void)
{
printf("\n");
printf_(gt("Press any button to restart..."));
fflush(stdout);
/* Wait for button */
Wpad_WaitButtonsCommon();
/* Restart */
Restart();
}