usbloadergx/source/patches/wip.h
dimok321 f0ca11506b *WIP Patch fix. WIP patches should work now. Tested and confirmed for PoP.
WIP Patches will be only accepted in the following format (let's not invent thousands of different formats):
In 3x 4 bytes columns separated by a space (no ":" allowed)
offset | original address | overwrite address 

Example for PoP:
007AAC6A 7A6B6F6A 6F6A7A6B
007AAC75 7C7A6939 69397C7A
...

The original address is compared before patching and is not patched if it doesn't match. You can see the confirmation or fail of a patch on the Gecko Output.

*A few fix ups in different places
2010-05-29 15:43:19 +00:00

10 lines
168 B
C

#ifndef __WIP_H__
#define __WIP_H__
int load_wip_code(u8 *gameid);
void do_wip_code(u8 * dst, u32 len);
void wip_reset_counter();
void free_wip();
#endif //__WIP_H__