summaryrefslogtreecommitdiff
path: root/src/code/z_map_exp.c
diff options
context:
space:
mode:
authorcadmic <cadmic24@gmail.com>2024-11-15 10:18:05 -0800
committerGitHub <noreply@github.com>2024-11-15 13:18:05 -0500
commitcf4dc98cc934cdb62ed8b5001602468fac6dfeb3 (patch)
tree64a88d718b4de4bb712c55401c28c72e98170e23 /src/code/z_map_exp.c
parente46fcbdbc95a2b1a87f1a79f7d40be19fc2013ee (diff)
Use debug macros even in N64-only code (#2298)
* Use debug macros even in N64-only code * Use UNK_FILE/UNK_LINE instead
Diffstat (limited to 'src/code/z_map_exp.c')
-rw-r--r--src/code/z_map_exp.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/code/z_map_exp.c b/src/code/z_map_exp.c
index ee72c9a50..1c82288b7 100644
--- a/src/code/z_map_exp.c
+++ b/src/code/z_map_exp.c
@@ -167,10 +167,10 @@ void Map_InitData(PlayState* play, s16 room) {
#if PLATFORM_N64
if ((B_80121220 != NULL) && (B_80121220->unk_28 != NULL) && B_80121220->unk_28(play)) {
} else {
- DmaMgr_RequestSync(play->interfaceCtx.mapSegment,
- (uintptr_t)_map_i_staticSegmentRomStart +
- ((gMapData->dgnMinimapTexIndexOffset[mapIndex] + room) * MAP_I_TEX_SIZE),
- MAP_I_TEX_SIZE);
+ DMA_REQUEST_SYNC(play->interfaceCtx.mapSegment,
+ (uintptr_t)_map_i_staticSegmentRomStart +
+ ((gMapData->dgnMinimapTexIndexOffset[mapIndex] + room) * MAP_I_TEX_SIZE),
+ MAP_I_TEX_SIZE, "../z_map_exp.c", UNK_LINE);
}
#else
DMA_REQUEST_SYNC(play->interfaceCtx.mapSegment,