usbloadergx/source/usbloader/GameBooter.hpp
dimok321 661fe9ce6e *Fixed game patches apply on "Default" and "On game launch" alternate dol settings
*Cleaned the GameBootProcess source a bit up and put it together to a class for better overview
2011-01-22 00:06:28 +00:00

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