mirror of
https://github.com/wiidev/usbloadergx.git
synced 2024-11-05 02:55:07 +01:00
904fda37d4
* clean up the wild mounts and unmounts (this and the new libfat fix the download-bug) * reorganize shutdowns and reboots use now the functions Sys_Reboot(), Sys_Shutdown(), Sys_ShutdownToIdel(), Sys_ShutdownToStandby() and Sys_BackToLoader() this functions stops the GUI-Thread, Shutdowns the Audio, Video, WPad and unmounts the SD and USB
41 lines
687 B
C
41 lines
687 B
C
/****************************************************************************
|
|
* libwiigui Template
|
|
* Tantric 2009
|
|
*
|
|
* menu.h
|
|
* Menu flow routines - handles all menu logic
|
|
***************************************************************************/
|
|
|
|
#ifndef _MENU_H_
|
|
#define _MENU_H_
|
|
|
|
#include <ogcsys.h>
|
|
|
|
#ifdef __cplusplus
|
|
//extern "C"
|
|
//{
|
|
#endif
|
|
void InitGUIThreads(void);
|
|
void ExitGUIThreads(void);
|
|
#ifdef __cplusplus
|
|
//}
|
|
#endif
|
|
|
|
int MainMenu (int menuitem);
|
|
void wiilight(int enable);
|
|
int GameSettings(struct discHdr *);
|
|
enum
|
|
{
|
|
MENU_EXIT = -1,
|
|
MENU_NONE,
|
|
MENU_SETTINGS,
|
|
MENU_DISCLIST,
|
|
MENU_FORMAT,
|
|
MENU_INSTALL,
|
|
MENU_CHECK,
|
|
MENU_GAME_SETTINGS,
|
|
MENU_OGG
|
|
};
|
|
|
|
#endif
|