Files
usbloadergx/source/StartUpProcess.h
wiidev f927575393 Prevent booting when installed via Priiloader
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.
2025-06-25 09:00:00 +01:00

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