mirror of
https://github.com/wiidev/usbloadergx.git
synced 2024-11-18 09:19:17 +01:00
15bcbfa482
You will see the list of available channels on your system if you start without a HDD or if your HDD is slow and is being recognized late. The list of games is than reloading as soon as it is recognized. *Hot swapping of the SD card was implemented into background thread (by giantpune) *Made lots of cleanups and some fixes *Format menu was moved to settings page 3 (only on godmode accessable) *Added ScreenShot and Reset/Shutdown call to background thread. Removed the not needed ones. Now you can call for Screenshot/Reset/Shutdown anywhere in the loader (after gui is started).
42 lines
902 B
C++
42 lines
902 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 "settings/cfg.h"
|
|
#include "main.h"
|
|
|
|
void InitGUIThreads(void);
|
|
void ExitGUIThreads(void);
|
|
void ResumeGui();
|
|
void HaltGui();
|
|
void menuBootgame(const char *headless);
|
|
|
|
int MainMenu (int menu);
|
|
|
|
enum {
|
|
MENU_EXIT = -1,
|
|
MENU_NONE,
|
|
MENU_SETTINGS,
|
|
MENU_DISCLIST,
|
|
MENU_FORMAT,
|
|
MENU_INSTALL,
|
|
MENU_CHECK,
|
|
MENU_GAME_SETTINGS,
|
|
MENU_HOMEBREWBROWSE,
|
|
BOOTHOMEBREW,
|
|
MENU_THEMEDOWNLOADER
|
|
};
|
|
class GuiImageData;
|
|
GuiImageData *LoadCoverImage(struct discHdr *header, bool Prefere3D=true, bool noCover=true);
|
|
class GuiSound;
|
|
extern GuiSound *btnClick2;
|
|
#endif
|