mirror of
https://github.com/wiidev/usbloadergx.git
synced 2024-12-23 10:21:55 +01:00
96cb18d26f
*corrected the patch for returnTo using d2x (should be working now) *added block ios reload of d2x. you can choose the methods in the game settings (same option as for hermes ios but it can be 1 or 2 on waninkoko ios, last option on screen) (not tested yet) *major restructuring of patching code for game patches inside the source
20 lines
578 B
C++
20 lines
578 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 alternatedol, u32 alternatedoloffset);
|
|
};
|
|
|
|
#endif
|