WiiFlow_Lite/resources/wiiflow_game_booter/source/ChannelHandler.hpp
Fledge68 bdefb68ff6 - added ability to use custom private servers #261. add them to wiiflow_lite.ini like this:
[CUSTOM_SERVERS]
servers=AltWFC|NewWFC
AltWFC_url=zwei.moe
NewWFC_url=newwfc.xyz

the servers are separated by '|'.
use the server name before '_url='
2021-09-27 06:46:51 -05:00

21 lines
543 B
C++

#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];
} ATTRIBUTE_PACKED dolheader;
void PatchChannel(u8 vidMode, GXRModeObj *vmode, bool vipatch, bool countryString,
u8 patchVidModes, int aspectRatio, u8 private_server, const char *server_addr, bool patchFix480p, u8 deflicker, u8 bootType);
u32 LoadChannel(u64 title, bool dol, u32 *IOS);
#endif /* __CHANHANDLE_HPP_ */