mirror of
https://github.com/wiidev/usbloadergx.git
synced 2025-07-26 21:37:32 +02:00

Priiloader breaks updates and passes outdated meta.xml info to the loader because it installs DOL files to your NAND, which also wastes writes. A lot of people have already installed USB Loader GX's UNEO channel, since that can be used to return you back to USB Loader GX when you exit a game. So ideally Priiloader should add channel selection as an autoboot option.
41 lines
802 B
C++
41 lines
802 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 isBadBoot);
|
|
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);
|
|
int AutobootDisc();
|
|
|
|
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
|