mirror of
https://github.com/Fledge68/WiiFlow_Lite.git
synced 2024-11-02 01:25:05 +01:00
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__
|