mirror of
https://github.com/zeldaret/oot.git
synced 2025-07-03 06:24:30 +00:00
Use intptr types in more code files (#1385)
* Use intptr types for segments and a few system files * Use intptr types for more dma rom addresses * Use intptr types in data referring to rom files * Update and cleanup a few message casts * Change sys_cfb functions and debugHeapStart to use pointers * Update graph.c for the sys_cfb return type change
This commit is contained in:
parent
e257416c07
commit
f5a7c5612b
25 changed files with 205 additions and 201 deletions
|
@ -27,7 +27,7 @@ u32 EffectSsExtra_Init(PlayState* play, u32 index, EffectSs* this, void* initPar
|
|||
EffectSsExtraInitParams* initParams = (EffectSsExtraInitParams*)initParamsx;
|
||||
s32 pad;
|
||||
s32 objBankIndex;
|
||||
u32 oldSeg6;
|
||||
uintptr_t oldSeg6;
|
||||
|
||||
objBankIndex = Object_GetIndex(&play->objectCtx, OBJECT_YABUSAME_POINT);
|
||||
|
||||
|
|
|
@ -34,7 +34,7 @@ u32 EffectSsFhgFlash_Init(PlayState* play, u32 index, EffectSs* this, void* init
|
|||
s32 objBankIdx;
|
||||
Vec3f zeroVec = { 0.0f, 0.0f, 0.0f };
|
||||
Vec3f sp34 = { 0.0f, -1000.0f, 0.0f };
|
||||
u32 oldSeg6;
|
||||
uintptr_t oldSeg6;
|
||||
|
||||
if (initParams->type == FHGFLASH_LIGHTBALL) {
|
||||
objBankIdx = Object_GetIndex(&play->objectCtx, OBJECT_FHG);
|
||||
|
|
|
@ -24,7 +24,7 @@ u32 EffectSsIceSmoke_Init(PlayState* play, u32 index, EffectSs* this, void* init
|
|||
EffectSsIceSmokeInitParams* initParams = (EffectSsIceSmokeInitParams*)initParamsx;
|
||||
s32 pad;
|
||||
s32 objBankIdx;
|
||||
u32 oldSeg6;
|
||||
uintptr_t oldSeg6;
|
||||
|
||||
objBankIdx = Object_GetIndex(&play->objectCtx, OBJECT_FZ);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue