summaryrefslogtreecommitdiff
path: root/src/code/z_actor.c
diff options
context:
space:
mode:
authorfig02 <fig02srl@gmail.com>2025-04-24 14:53:18 -0400
committerGitHub <noreply@github.com>2025-04-24 14:53:18 -0400
commit2341c44a6c3e2c5a44b640dd884b3ac3eca3ee68 (patch)
tree1e6ce26ad5a76306ed19b108f10479e46121cbef /src/code/z_actor.c
parentde59ad3db71a7e1d0134fa8be0c047c4cb1efacd (diff)
Use official macros for Physical Address conversion (#2511)
Diffstat (limited to 'src/code/z_actor.c')
-rw-r--r--src/code/z_actor.c2
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) {