mirror of
https://github.com/zeldaret/mm.git
synced 2026-06-13 13:46:26 -04:00
Z_DLF OK (#965)
* matched both * use overlay reloc macro * fix fake looking match * PR fixes and change other overlay loading functions * rename * formatter * fix build * re format
This commit is contained in:
@@ -188,8 +188,9 @@ void EffectSs_Spawn(PlayState* play, s32 type, s32 priority, void* initData) {
|
||||
Load2_LoadOverlay(entry->vromStart, entry->vromEnd, entry->vramStart, entry->vramEnd, entry->loadedRamAddr);
|
||||
}
|
||||
|
||||
initInfo = (uintptr_t)(
|
||||
(entry->initInfo != NULL) ? (void*)(-OVERLAY_RELOCATION_OFFSET(entry) + (uintptr_t)entry->initInfo) : NULL);
|
||||
initInfo = (uintptr_t)((entry->initInfo != NULL)
|
||||
? (void*)((uintptr_t)entry->initInfo - (intptr_t)OVERLAY_RELOCATION_OFFSET(entry))
|
||||
: NULL);
|
||||
}
|
||||
|
||||
if (initInfo->init != NULL) {
|
||||
|
||||
Reference in New Issue
Block a user