23extern unsigned char osdsrc[];
24extern unsigned int size_osdsrc;
45 if (PatchIsNeeded()) {
48 setup(SyscallPatchEntries[0].syscall_num, SyscallPatchEntries[0].function);
49 Copy((
unsigned int *)0x80074000, (
unsigned int *)osdsrc, size_osdsrc);
53 setup(SyscallPatchEntries[1].syscall_num, SyscallPatchEntries[1].function);
55 for (i = 2; i < 3; i++) {
56 setup(SyscallPatchEntries[i].syscall_num, GetEntryAddress(SyscallPatchEntries[i].syscall_num));