mirror of
https://github.com/nitraiolo/CfgUSBLoader.git
synced 2024-11-30 15:14:16 +01:00
35 lines
478 B
C
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();
|
||
|
}
|
||
|
|