mirror of
https://github.com/wiidev/usbloadergx.git
synced 2024-11-12 22:45:08 +01:00
21 lines
700 B
C++
21 lines
700 B
C++
|
#ifndef GAMEBOOTER_HPP_
|
||
|
#define GAMEBOOTER_HPP_
|
||
|
|
||
|
#include <gctypes.h>
|
||
|
|
||
|
class GameBooter
|
||
|
{
|
||
|
public:
|
||
|
static int BootGame(const char * gameID);
|
||
|
static int BootGCMode();
|
||
|
private:
|
||
|
static int FindDiscHeader(const char * gameID, struct discHdr &gameHeader);
|
||
|
static void SetupAltDOL(u8 * gameID, u8 &alternatedol, u32 &alternatedoloffset);
|
||
|
static int SetupDisc(u8 *gameID);
|
||
|
static bool LoadOcarina(u8 *gameID);
|
||
|
static u32 BootPartition(char * dolpath, u8 videoselected, u8 languageChoice, u8 cheat, u8 vipatch,
|
||
|
u8 patchcountrystring, u8 alternatedol, u32 alternatedoloffset, u32 returnTo, u8 fix002);
|
||
|
};
|
||
|
|
||
|
#endif
|