Fix call to patchK11ModuleLoading
This commit is contained in:
parent
01c760ab88
commit
692a94fe5e
@ -155,7 +155,7 @@ static inline void mergeSection0(FirmwareType firmType, bool loadFromStorage)
|
||||
//4) Patch NATIVE_FIRM if necessary
|
||||
if(isCustomModule)
|
||||
{
|
||||
if(patchK11ModuleLoading(firm->section[0].size, dst - firm->section[0].address, firm->section[1].address, firm->section[1].size) != 0)
|
||||
if(patchK11ModuleLoading(firm->section[0].size, dst - firm->section[0].address, (u8 *)firm + firm->section[1].offset, firm->section[1].size) != 0)
|
||||
error("Failed to inject custom sysmodule");
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user