WiiFlow_Lite/source/channel/channel_launcher.h
fix94.1 1a0908497a -code cleanup and correction, should print more debug messages
than before if problems occur
-replaced most malloc by MEM2_alloc, as well as free and SAFE_FREE
replaced by MEM2_free
2012-05-12 16:03:14 +00:00

26 lines
685 B
C

#ifndef _CHAN_LAUNCHER
#define _CHAN_LAUNCHER
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
#include <gctypes.h>
#include <gccore.h>
s32 BootChannel(u8 *data, u64 chantitle, u8 vidMode, bool vipatch, bool countryString, u8 patchVidMode, bool disableIOSreload, int aspectRatio);
u32 LoadChannel(u8 *buffer);
void PatchChannel(u8 vidMode, GXRModeObj *vmode, bool vipatch, bool countryString, u8 patchVidModes, int aspectRatio);
u8 * GetDol(u64 title, u32 bootcontent);
bool Identify(u64 titleid, u32 *ios);
bool Identify_GenerateTik(signed_blob **outbuf, u32 *outlen);
#ifdef __cplusplus
}
#endif /* __cplusplus */
#endif /* _CHAN_LAUNCHER */