WiiFlow_Lite/source/loader/wip.h
fix94.1 7714c6e6d8 -changed quite alot of things in apploader (thanks to GX again,
before the NSMBW and Prince of Persia patch did nothing at all)
-fixed typo in wip debug print (before it didnt work at all so
nobody noticed)
2012-05-16 19:29:53 +00:00

26 lines
431 B
C

#ifndef __WIP_H__
#define __WIP_H__
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
typedef struct
{
u32 offset;
u32 srcaddress;
u32 dstaddress;
} WIP_Code;
bool set_wip_list(WIP_Code *list, int size);
void wip_reset_counter();
void free_wip();
void do_wip_code(u8 *dst, u32 len);
int load_wip_patches(u8 *dir, u8 *gameid);
#ifdef __cplusplus
}
#endif /* __cplusplus */
#endif //__WIP_H__