Formatted code
This commit is contained in:
parent
79c76e1b5e
commit
e46fdd4660
1 changed files with 2 additions and 1 deletions
3
loader.c
3
loader.c
|
@ -198,7 +198,8 @@ static inline BOOL initMods(struct DiscInfo* discResources)
|
|||
flushAddr(&gInfo._codelistPointer->mBaseASM);
|
||||
|
||||
volatile u32* functionAddr = findVIHook(discResources, &gInfo, (u32*)MEM1_START, MEM1_END);
|
||||
if (functionAddr == NULL) return FALSE;
|
||||
if (functionAddr == NULL)
|
||||
return FALSE;
|
||||
hookFunction(functionAddr, 0x4E800020, CODEHANDLER_ENTRY, FALSE);
|
||||
return TRUE;
|
||||
}
|
||||
|
|
Reference in a new issue