summaryrefslogtreecommitdiff
path: root/src/d/map/d_map_path_dmap.cpp
diff options
context:
space:
mode:
authorTakaRikka <38417346+TakaRikka@users.noreply.github.com>2024-01-19 16:22:19 -0800
committerGitHub <noreply@github.com>2024-01-20 02:22:19 +0200
commit981cfe7283c0a39b8d1845d8ba59f3bb1e192932 (patch)
tree147c0280ee1231529e52039cbef26f2a6439744f /src/d/map/d_map_path_dmap.cpp
parentf97fc769df40a69b12ca9b28be389b236400dcdb (diff)
almost all of dolphin matched (#2036)
* TRK full match * remove trk asm * ar done * cleanup some dolphin headers * more dolphin cleanup * cleanup / GD fully matched * almost all of GX fully matched * GX / Mtx full matched * most of OS done * pad done * most of VI * remove asm * forgot couple vec funcs * couple JUtility matches
Diffstat (limited to 'src/d/map/d_map_path_dmap.cpp')
-rw-r--r--src/d/map/d_map_path_dmap.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/d/map/d_map_path_dmap.cpp b/src/d/map/d_map_path_dmap.cpp
index 5f52d90397..843495d2d6 100644
--- a/src/d/map/d_map_path_dmap.cpp
+++ b/src/d/map/d_map_path_dmap.cpp
@@ -862,13 +862,13 @@ void renderingDAmap_c::preDrawPath() {
GXClearVtxDesc();
GXSetVtxDesc(GX_VA_POS, GX_INDEX16);
GXSetVtxAttrFmt(GX_VTXFMT0, GX_VA_POS, GX_CLR_RGB, GX_F32, 0);
- GXSetMisc(1, 8);
+ GXSetMisc(GX_MT_XF_FLUSH, 8);
}
/* 8003FFC4-8003FFEC 03A904 0028+00 3/0 3/0 0/0 .text postDrawPath__16renderingDAmap_cFv
*/
void renderingDAmap_c::postDrawPath() {
- GXSetMisc(1, 0);
+ GXSetMisc(GX_MT_XF_FLUSH, 0);
}
/* 8003FFEC-8003FFF4 03A92C 0008+00 3/0 3/1 0/0 .text getRoomNoSingle__16renderingDAmap_cFv */
@@ -1154,7 +1154,7 @@ void renderingPlusDoor_c::drawNormalDoorS(stage_tgsc_data_class const* i_doorDat
GXPosition3f32(sp18[i].x, sp18[i].y, sp18[i].z);
GXTexCoord1x8(i);
}
- i_GXEnd();
+ GXEnd();
}
/* 800409B4-800409E0 03B2F4 002C+00 3/0 2/0 0/0 .text isDrawRoomIcon__16renderingDAmap_cCFii */
@@ -1390,7 +1390,7 @@ void renderingPlusDoorAndCursor_c::drawIconSingle(Vec const& param_0, f32 param_
GXTexCoord1x8(i);
}
- i_GXEnd();
+ GXEnd();
}
/* 800412C0-8004145C 03BC00 019C+00 1/1 0/0 0/0 .text
@@ -1430,7 +1430,7 @@ void renderingPlusDoorAndCursor_c::drawCursor(Vec const& param_0, s16 param_1, i
GXPosition2f32(offset[i].x, offset[i].z);
}
- i_GXEnd();
+ GXEnd();
}
/* 8004145C-80041460 03BD9C 0004+00 2/0 0/0 0/0 .text beforeDrawPath__19renderingPlusDoor_cFv */