diff options
| author | coco875 <59367621+coco875@users.noreply.github.com> | 2025-07-03 12:38:28 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-07-03 06:38:28 -0600 |
| commit | 23b6478ce6ae4b264821e08875f17f80e6deec2e (patch) | |
| tree | 03b9788f04ff75d52d7b8be7d33a90f6e47306a9 /src/render_objects.c | |
| parent | f9d2b51a53046b8ae9f15a11e969e466fa0e741a (diff) | |
Fix small mistake (#409)
* Update other_textures.yml
* Update menu_items.c
* remove mkload
---------
Co-authored-by: MegaMech <MegaMech@users.noreply.github.com>
Diffstat (limited to 'src/render_objects.c')
| -rw-r--r-- | src/render_objects.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/render_objects.c b/src/render_objects.c index 0aa5513ba..b30eeb91d 100644 --- a/src/render_objects.c +++ b/src/render_objects.c @@ -201,7 +201,7 @@ void load_texture_block_rgba32_nomirror(u8* texture, s32 width, s32 height) { } void load_texture_tile_rgba32_nomirror(u8* texture, s32 width, s32 height) { - gMKLoadTextureTile(gDisplayListHead++, texture, G_IM_FMT_RGBA, G_IM_SIZ_32b, width, height, 0, 0, width - 1, + gDPLoadTextureTile(gDisplayListHead++, texture, G_IM_FMT_RGBA, G_IM_SIZ_32b, width, height, 0, 0, width - 1, height - 1, 0, G_TX_NOMIRROR | G_TX_CLAMP, G_TX_NOMIRROR | G_TX_CLAMP, G_TX_NOMASK, G_TX_NOMASK, G_TX_NOLOD, G_TX_NOLOD); } @@ -219,7 +219,7 @@ void load_texture_block_rgba16_nomirror(u8* texture, s32 width, s32 height, s32 } void load_texture_tile_rgba16_nomirror(u8* texture, s32 width, s32 height) { - gMKLoadTextureTile(gDisplayListHead++, texture, G_IM_FMT_RGBA, G_IM_SIZ_16b, width, height, 0, 0, width - 1, + gDPLoadTextureTile(gDisplayListHead++, texture, G_IM_FMT_RGBA, G_IM_SIZ_16b, width, height, 0, 0, width - 1, height - 1, 0, G_TX_NOMIRROR | G_TX_CLAMP, G_TX_NOMIRROR | G_TX_CLAMP, G_TX_NOMASK, G_TX_NOMASK, G_TX_NOLOD, G_TX_NOLOD); } @@ -231,7 +231,7 @@ void load_texture_block_ia16_nomirror(u8* texture, s32 width, s32 height) { } void load_texture_tile_ia16_nomirror(u8* texture, s32 width, s32 height) { - gMKLoadTextureTile(gDisplayListHead++, texture, G_IM_FMT_IA, G_IM_SIZ_16b, width, height, 0, 0, width - 1, + gDPLoadTextureTile(gDisplayListHead++, texture, G_IM_FMT_IA, G_IM_SIZ_16b, width, height, 0, 0, width - 1, height - 1, 0, G_TX_NOMIRROR | G_TX_CLAMP, G_TX_NOMIRROR | G_TX_CLAMP, G_TX_NOMASK, G_TX_NOMASK, G_TX_NOLOD, G_TX_NOLOD); } @@ -243,7 +243,7 @@ void load_texture_block_ia8_nomirror(u8* texture, s32 width, s32 height) { } void load_texture_tile_ia8_nomirror(u8* texture, s32 width, s32 height) { - gMKLoadTextureTile(gDisplayListHead++, texture, G_IM_FMT_IA, G_IM_SIZ_8b, width, height, 0, 0, width - 1, + gDPLoadTextureTile(gDisplayListHead++, texture, G_IM_FMT_IA, G_IM_SIZ_8b, width, height, 0, 0, width - 1, height - 1, 0, G_TX_NOMIRROR | G_TX_CLAMP, G_TX_NOMIRROR | G_TX_CLAMP, G_TX_NOMASK, G_TX_NOMASK, G_TX_NOLOD, G_TX_NOLOD); } @@ -277,7 +277,7 @@ void func_80044924(u8* texture, s32 width, s32 height) { } UNUSED void func_80044AB8(u8* texture, s32 width, s32 height) { - gMKLoadTextureTile_4b(gDisplayListHead++, texture, G_IM_FMT_IA, width, height, 0, 0, width - 1, height - 1, 0, + gDPLoadTextureTile_4b(gDisplayListHead++, texture, G_IM_FMT_IA, width, height, 0, 0, width - 1, height - 1, 0, G_TX_NOMIRROR | G_TX_CLAMP, G_TX_NOMIRROR | G_TX_CLAMP, G_TX_NOMASK, G_TX_NOMASK, G_TX_NOLOD, G_TX_NOLOD); } @@ -367,7 +367,7 @@ void rsp_load_texture_mask(u8* texture, s32 width, s32 height, s32 someMask) { } UNUSED void func_80045614(u8* texture, s32 width, s32 height) { - gMKLoadTextureTile(gDisplayListHead++, texture, G_IM_FMT_CI, G_IM_SIZ_8b, width, height, 0, 0, width - 1, + gDPLoadTextureTile(gDisplayListHead++, texture, G_IM_FMT_CI, G_IM_SIZ_8b, width, height, 0, 0, width - 1, height - 1, 0, G_TX_NOMIRROR | G_TX_CLAMP, G_TX_NOMIRROR | G_TX_CLAMP, G_TX_NOMASK, G_TX_NOMASK, G_TX_NOLOD, G_TX_NOLOD); } |
