usbloadergx/source/StartUpProcess.h
strtoul 5cbb7e69fd *Add boot without HDD connected (channel mode is fallback). Timeout of 20 secs still comes up on start but you have now the chance to cancel it by pressing B (with a message ;-))
*Optimized TMD loading. Removed unnecessary accesses to it.
*Fixed ocarina path loading for channels
*Optimized device shutdown before game/channel start
*A few code optimizations
2011-11-20 10:46:07 +00:00

34 lines
654 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();
int Execute();
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 * cancelTxt;
GuiButton * cancelBtn;
GuiTrigger * trigB;
};
#endif