2010-12-31 00:49:22 +01:00
|
|
|
#ifndef STARTUPPROCESS_H_
|
|
|
|
#define STARTUPPROCESS_H_
|
|
|
|
|
2011-06-14 19:53:19 +02:00
|
|
|
#include "GUI/gui.h"
|
2010-12-31 00:49:22 +01:00
|
|
|
|
|
|
|
class StartUpProcess
|
|
|
|
{
|
2021-08-01 19:00:42 +02:00
|
|
|
public:
|
|
|
|
static int Run(int argc, char *argv[]);
|
2010-12-31 00:49:22 +01:00
|
|
|
|
2021-08-01 19:00:42 +02:00
|
|
|
private:
|
|
|
|
StartUpProcess();
|
|
|
|
~StartUpProcess();
|
2023-01-01 18:00:34 +01:00
|
|
|
void LoadIOS(u8 ios, bool boot);
|
2021-08-01 19:00:42 +02:00
|
|
|
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);
|
2011-11-20 11:46:07 +01:00
|
|
|
|
2021-08-01 19:00:42 +02:00
|
|
|
bool drawCancel;
|
|
|
|
|
|
|
|
GuiImageData *GXImageData;
|
|
|
|
GuiImage *background;
|
|
|
|
GuiImage *GXImage;
|
|
|
|
GuiText *titleTxt;
|
|
|
|
GuiText *messageTxt;
|
|
|
|
GuiText *versionTxt;
|
|
|
|
GuiText *cancelTxt;
|
|
|
|
GuiButton *cancelBtn;
|
2023-01-01 18:00:35 +01:00
|
|
|
GuiButton *sdmodeBtn;
|
2021-08-01 19:00:42 +02:00
|
|
|
GuiTrigger *trigB;
|
2023-01-01 18:00:35 +01:00
|
|
|
GuiTrigger *trigA;
|
2010-12-31 00:49:22 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|