2012-10-14 19:18:13 +02:00
|
|
|
|
|
|
|
#ifndef __CHANHANDLE_HPP_
|
|
|
|
#define __CHANHANDLE_HPP_
|
|
|
|
|
|
|
|
typedef struct _dolheader
|
|
|
|
{
|
|
|
|
u32 section_pos[18];
|
|
|
|
u32 section_start[18];
|
|
|
|
u32 section_size[18];
|
|
|
|
u32 bss_start;
|
|
|
|
u32 bss_size;
|
|
|
|
u32 entry_point;
|
|
|
|
u32 padding[7];
|
2013-01-01 18:42:46 +01:00
|
|
|
} ATTRIBUTE_PACKED dolheader;
|
2012-10-14 19:18:13 +02:00
|
|
|
|
2021-11-29 18:36:30 +01:00
|
|
|
void PatchChannel(u8 vidMode, GXRModeObj *vmode, bool vipatch, bool countryString, u8 patchVidModes, int aspectRatio,
|
2023-04-08 00:06:30 +02:00
|
|
|
u32 returnTo, u8 private_server, const char *server_addr, u8 videoWidth, bool patchFix480p, u8 deflicker, u8 bootType);
|
2013-01-05 18:12:13 +01:00
|
|
|
u32 LoadChannel(u64 title, bool dol, u32 *IOS);
|
2012-10-14 19:18:13 +02:00
|
|
|
|
2021-11-29 18:36:30 +01:00
|
|
|
extern bool isForwarder;
|
|
|
|
|
2012-10-14 19:18:13 +02:00
|
|
|
#endif /* __CHANHANDLE_HPP_ */
|