usbloadergx/source/StartUpProcess.h
wiidev df76e45150 Add SD card mode
- This allows you to play your Wii games from an SD card
- It currently only supports 1 partition
- I've tested it with a 256GB Amazon Basics microSDXC card
2023-01-01 17:00:35 +00:00

39 lines
741 B
C++

#ifndef STARTUPPROCESS_H_
#define STARTUPPROCESS_H_
#include "GUI/gui.h"
class StartUpProcess
{
public:
static int Run(int argc, char *argv[]);
private:
StartUpProcess();
~StartUpProcess();
void LoadIOS(u8 ios, bool boot);
int Execute(bool quickGameBoot);
bool USBSpinUp();
void TextFade(int direction);
void SetTextf(const char *format, ...);
void Draw();
static int ParseArguments(int argc, char *argv[]);
static int QuickGameBoot(const char *gameID);
bool drawCancel;
GuiImageData *GXImageData;
GuiImage *background;
GuiImage *GXImage;
GuiText *titleTxt;
GuiText *messageTxt;
GuiText *versionTxt;
GuiText *cancelTxt;
GuiButton *cancelBtn;
GuiButton *sdmodeBtn;
GuiTrigger *trigB;
GuiTrigger *trigA;
};
#endif