diff options
| author | fig02 <fig02srl@gmail.com> | 2025-04-24 14:53:18 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-04-24 14:53:18 -0400 |
| commit | 2341c44a6c3e2c5a44b640dd884b3ac3eca3ee68 (patch) | |
| tree | 1e6ce26ad5a76306ed19b108f10479e46121cbef /src/code/z_actor.c | |
| parent | de59ad3db71a7e1d0134fa8be0c047c4cb1efacd (diff) | |
Use official macros for Physical Address conversion (#2511)
Diffstat (limited to 'src/code/z_actor.c')
| -rw-r--r-- | src/code/z_actor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/code/z_actor.c b/src/code/z_actor.c index b4bbfd3e4..7ea5bb355 100644 --- a/src/code/z_actor.c +++ b/src/code/z_actor.c @@ -931,7 +931,7 @@ void Actor_SetScale(Actor* actor, f32 scale) { } void Actor_SetObjectDependency(PlayState* play, Actor* actor) { - gSegments[6] = VIRTUAL_TO_PHYSICAL(play->objectCtx.slots[actor->objectSlot].segment); + gSegments[6] = OS_K0_TO_PHYSICAL(play->objectCtx.slots[actor->objectSlot].segment); } void Actor_Init(Actor* actor, PlayState* play) { |
