mirror of
https://github.com/Fledge68/WiiFlow_Lite.git
synced 2024-12-30 13:51:51 +01:00
7714c6e6d8
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)
26 lines
431 B
C
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__
|