mirror of
https://github.com/wiidev/usbloadergx.git
synced 2024-11-18 01:09:16 +01:00
2adc6cc995
*Fixed bug mounting a wbfs partition which was formatted from an ext partition *Rewrote the parental control feature. Removed loading pin or settings from the Wii Settings. Parental control is now completely managed in the loader from the settings selected and the password set. *Saving password in config file is now encrypted *Added loop to wait for usb when reloading the cIOS before game start The parental control feature is filtering games like following when usb loader is locked: level 0 (everyone 0+) > shows only games with lvl 0 level 1 (childs 7+) > shows games with lvl 0, 1 level 2 (teens 12+) > shows games with lvl 0, 1, 2 level 3 (mature 16+) > shows games with lvl 0, 1, 2, 3 level 4 (adults only 18+) > shows all games (lvl 0, 1, 2, 3, 4) level 4 is default when creating new configs
49 lines
973 B
C
49 lines
973 B
C
/****************************************************************************
|
|
* libwiigui Template
|
|
* Tantric 2009
|
|
*
|
|
* menu.h
|
|
* Menu flow routines - handles all menu logic
|
|
***************************************************************************/
|
|
|
|
#ifndef _MENU_H_
|
|
#define _MENU_H_
|
|
|
|
#include <ogcsys.h>
|
|
#include "libwiigui/gui.h"
|
|
#include "settings/CSettings.h"
|
|
#include "main.h"
|
|
|
|
void InitGUIThreads(void);
|
|
void ExitGUIThreads(void);
|
|
|
|
int MainMenu(int menuitem);
|
|
|
|
enum
|
|
{
|
|
MENU_EXIT = -1,
|
|
MENU_NONE,
|
|
MENU_SETTINGS,
|
|
MENU_DISCLIST,
|
|
MENU_INSTALL,
|
|
MENU_GAME_SETTINGS,
|
|
MENU_HOMEBREWBROWSE,
|
|
BOOTHOMEBREW,
|
|
MENU_THEMEDOWNLOADER
|
|
};
|
|
|
|
void ResumeGui();
|
|
void HaltGui();
|
|
|
|
extern GuiImageData *pointer[4];
|
|
extern GuiImageData *background;
|
|
extern GuiImage *bgImg;
|
|
extern GuiWindow *mainWindow;
|
|
extern GuiText *GameRegionTxt;
|
|
extern GuiText *GameIDTxt;
|
|
extern GuiImageData *cover;
|
|
extern GuiImage *coverImg;
|
|
extern FreeTypeGX *fontSystem;
|
|
|
|
#endif
|