yawmmde/source/restart.c

34 lines
476 B
C
Raw Normal View History

2012-12-22 18:35:15 +01:00
#include <stdio.h>
#include <ogcsys.h>
#include "nand.h"
#include "sys.h"
#include "wpad.h"
//#include "video.h"
void Restart(void)
{
printf("\n Beende den WAD-Manager...");
fflush(stdout);
/* Disable NAND emulator */
Nand_Disable();
/* Load system menu */
Sys_LoadMenu();
}
void Restart_Wait(void)
{
printf("\n Dr%ccke eine Taste f%cr den Neustart...",129,129);
fflush(stdout);
/* Wait for button */
Wpad_WaitButtons();
/* Restart */
Restart();
}