Fix compilation

On my Windows 10 with the last DevkitPRO, i have errors :

 error: redefinition of 'g_kernel_patch_vers_proc_id_send'
 error: redefinition of 'g_kernel_hook_vers_proc_id_send'
This commit is contained in:
Frogomeli 2018-06-17 18:56:36 +02:00 committed by GitHub
parent fca9ed2a15
commit ce412e91c8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,8 +5,8 @@
#define MAKE_BRANCH(a, o) 0x14000000 | ((((o) - (a)) >> 2) & 0x3FFFFFF) #define MAKE_BRANCH(a, o) 0x14000000 | ((((o) - (a)) >> 2) & 0x3FFFFFF)
#define MAKE_KERNEL_PATTERN_NAME(vers, name) g_kernel_patch_##vers_##name #define MAKE_KERNEL_PATTERN_NAME(vers, name) g_kernel_patch_##vers##_##name
#define MAKE_KERNEL_HOOK_NAME(vers, name) g_kernel_hook_##vers_##name #define MAKE_KERNEL_HOOK_NAME(vers, name) g_kernel_hook_##vers##_##name
typedef uint32_t instruction_t; typedef uint32_t instruction_t;