fix module loading
This commit is contained in:
parent
19d95782e1
commit
905837468c
@ -442,7 +442,7 @@ u32 patchK11ModuleLoading(u32 section0size, u32 modulesSize, u8 *pos, u32 size)
|
|||||||
off32 += 2;
|
off32 += 2;
|
||||||
off32[1] = off32[0] + modulesSize;
|
off32[1] = off32[0] + modulesSize;
|
||||||
for(; *off32 != section0size; off32++);
|
for(; *off32 != section0size; off32++);
|
||||||
*off32 += ((modulesSize + 0x1FF) >> 9) << 9;
|
*off32 = ((modulesSize + 0x1FF) >> 9) << 9;
|
||||||
|
|
||||||
off = memsearch(pos, modulePidPattern, size, 4);
|
off = memsearch(pos, modulePidPattern, size, 4);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user