1
0
Fork 0

Formatted code

This commit is contained in:
JoshuaMKW 2020-05-02 15:17:05 -05:00
parent 79c76e1b5e
commit e46fdd4660

View file

@ -198,7 +198,8 @@ static inline BOOL initMods(struct DiscInfo* discResources)
flushAddr(&gInfo._codelistPointer->mBaseASM); flushAddr(&gInfo._codelistPointer->mBaseASM);
volatile u32* functionAddr = findVIHook(discResources, &gInfo, (u32*)MEM1_START, MEM1_END); 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); hookFunction(functionAddr, 0x4E800020, CODEHANDLER_ENTRY, FALSE);
return TRUE; return TRUE;
} }