usbloadergx/source/StartUpProcess.h
wiidev ab3273f475 Automatically pick the cIOS for games
To avoid unnecessary IOS reloads the following d2x cIOS setup should be used.

- Slot 249 base 56
- Slot 250 base 57
- Slot 251 base 38 (Wii) / base 58 (vWii)

Or you could use the following, which should improve game compatibility.

- Slot 248 base 38 (Wii)
- Slot 249 base 56
- Slot 250 base 57
- Slot 251 base 58
2023-01-01 17:00:34 +00:00

37 lines
698 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;
GuiTrigger *trigB;
};
#endif