summaryrefslogtreecommitdiff
path: root/src/code/z_parameter.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_parameter.c
parentde59ad3db71a7e1d0134fa8be0c047c4cb1efacd (diff)
Use official macros for Physical Address conversion (#2511)
Diffstat (limited to 'src/code/z_parameter.c')
-rw-r--r--src/code/z_parameter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/code/z_parameter.c b/src/code/z_parameter.c
index a4a9acb6f..5d0166b49 100644
--- a/src/code/z_parameter.c
+++ b/src/code/z_parameter.c
@@ -2163,7 +2163,7 @@ void Interface_LoadActionLabel(InterfaceContext* interfaceCtx, u16 action, s16 l
DO_ACTION_TEX_SIZE, 0, &interfaceCtx->loadQueue, NULL, "../z_parameter.c", 2145);
osRecvMesg(&interfaceCtx->loadQueue, NULL, OS_MESG_BLOCK);
} else {
- gSegments[7] = VIRTUAL_TO_PHYSICAL(interfaceCtx->doActionSegment);
+ gSegments[7] = OS_K0_TO_PHYSICAL(interfaceCtx->doActionSegment);
func_80086D5C(SEGMENTED_TO_VIRTUAL(sDoActionTextures[loadOffset]), DO_ACTION_TEX_SIZE / 4);
}
}