mirror of
https://github.com/modmii/YAWM-ModMii-Edition.git
synced 2024-11-25 09:36:53 +01:00
3e8fb363e4
...adjusted button mapping to include 2, probably something else
34 lines
459 B
C
34 lines
459 B
C
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
#include <ogcsys.h>
|
|
|
|
#include "restart.h"
|
|
#include "nand.h"
|
|
#include "sys.h"
|
|
#include "wpad.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)
|
|
{
|
|
Con_Clear();
|
|
puts("\n Exiting...");
|
|
fflush(stdout);
|
|
|
|
/* Disable NAND emulator */
|
|
Nand_Disable();
|
|
|
|
/* Load system menu */
|
|
exit(0);
|
|
}
|