diff options
| author | MegaMech <MegaMech@users.noreply.github.com> | 2026-03-09 18:50:13 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-03-09 18:50:13 -0600 |
| commit | f7aab65da475d3fc4661c166aa40f2692a8b3c52 (patch) | |
| tree | ea7196655be84bfd22fc9d96b494531bfb4270f0 | |
| parent | d16bdd75b1ccb8a5dfd078a4adf210a32256d271 (diff) | |
Fix Item Window (#677)
* Update render_objects.c
* Update render_objects.c
| -rw-r--r-- | src/render_objects.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/render_objects.c b/src/render_objects.c index 6489b2790..8c9812fbd 100644 --- a/src/render_objects.c +++ b/src/render_objects.c @@ -712,7 +712,7 @@ void draw_rectangle_texture_overlap(u8* tlut, u8* texture, Vtx* arg2, UNUSED s32 s32 heighthalf) { s32 heightIndex; s32 vertexIndex = 0; - u8* img = (u8*) LOAD_ASSET(texture); + u8* img = texture; gDPLoadTLUT_pal256(gDisplayListHead++, tlut); for (heightIndex = 0; heightIndex < height / heighthalf; heightIndex++) { @@ -2621,9 +2621,11 @@ void func_8004E6C4(s32 playerId) { object = &gObjectList[objectIndex]; if (object->state >= 2) { temp_v0 = &playerHUD[playerId]; + FrameInterpolation_RecordOpenChild("item_window_splitscreen", playerId); func_80047910(temp_v0->slideItemBoxX + temp_v0->itemBoxX, temp_v0->slideItemBoxY + temp_v0->itemBoxY, 0U, - temp_v0->unknownScaling, (u8*) object->activeTLUT, (u8*) object->activeTexture, D_0D005C30, + temp_v0->unknownScaling, (u8*) object->activeTLUT, (u8*) object->activeTexture, (Vtx*)LOAD_ASSET(D_0D005C30), 0x00000028, 0x00000020, 0x00000028, 0x00000020); + FrameInterpolation_RecordCloseChild(); } } |
