mirror of
https://github.com/wiidev/usbloadergx.git
synced 2024-11-18 17:29:17 +01:00
1913aea194
*Fix homebrew browser indicator counter (thx dj_skual) *Fix We Dare anti piracy protection (thx oggzee) *Fix Wip patching *IOS reload block working with d2x v6 beta1+ with all filesystems *Changed CheckBox Cross to squareroot sign *Added auto detection of the usb port on start with Hermes cIOS (allowing startup without waiting 20s for USB port 1) (was build in in rodries ehcmodule, thx!) *With new d2x v6 beta1+ sector sizes other than 512 bytes per sector should be supported on ext/ntfs (maybe fat too) (NOT TESTED, need feedback)
28 lines
434 B
C
28 lines
434 B
C
#ifndef __WIP_H__
|
|
#define __WIP_H__
|
|
|
|
#include <gccore.h>
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
typedef struct
|
|
{
|
|
u32 offset;
|
|
u32 srcaddress;
|
|
u32 dstaddress;
|
|
} WIP_Code;
|
|
|
|
int load_wip_code(u8 *gameid);
|
|
void do_wip_code(u8 * dst, u32 len);
|
|
bool set_wip_list(WIP_Code * list, int size);
|
|
void wip_reset_counter();
|
|
void free_wip();
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif //__WIP_H__
|