diff options
| author | Rozelette <Rozelette@users.noreply.github.com> | 2021-04-07 16:16:16 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-04-07 17:16:16 -0400 |
| commit | d2c181a0a99430cd9893b022bd179cffc11dbbba (patch) | |
| tree | ceb21e76b835263ac1c8c67835b23c65eb9bcb10 /src/code/z_room.c | |
| parent | b22e26dbd84042ffa35d4ee38f44574550d88c82 (diff) | |
z_lib fully matched (#85)
* z_lib OK
* Documentation
* Added stdbool and stdint
* Fixup for new names
* Fixup bad merge
* Feedback
* Use u/s32 for intptr_t
Diffstat (limited to 'src/code/z_room.c')
| -rw-r--r-- | src/code/z_room.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/code/z_room.c b/src/code/z_room.c index 04842eeb6..0e6b1afe3 100644 --- a/src/code/z_room.c +++ b/src/code/z_room.c @@ -28,7 +28,7 @@ void Room_DrawType0Mesh(GlobalContext* ctxt, Room* room, u32 flags) { } mesh = &room->mesh->type0; - meshParams = (RoomMeshType0Params*)Lib_PtrSegToVirt(mesh->paramsStart); + meshParams = (RoomMeshType0Params*)Lib_SegmentedToVirtual(mesh->paramsStart); for (i = 0; i < mesh->count; i++) { if ((flags & 1) && (meshParams->opaqueDl != NULL)) { gSPDisplayList(gfxCtx->polyOpa.p++, meshParams->opaqueDl); |
