usbloadergx/source/StartUpProcess.h

43 lines
833 B
C
Raw Normal View History

#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);
2023-04-15 23:24:38 +02:00
int FinalizeExecute();
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);
2023-04-15 23:24:38 +02:00
int AutobootDisc();
bool drawCancel;
2023-04-15 23:24:38 +02:00
bool drawDiscCancel;
GuiImageData *GXImageData;
GuiImage *background;
GuiImage *GXImage;
GuiText *titleTxt;
GuiText *messageTxt;
GuiText *versionTxt;
GuiText *cancelTxt;
2023-04-15 23:24:38 +02:00
GuiText *discCancelTxt;
GuiButton *cancelBtn;
GuiButton *sdmodeBtn;
GuiTrigger *trigB;
GuiTrigger *trigA;
};
#endif