summaryrefslogtreecommitdiff
path: root/src/code/z_effect_soft_sprite_old_init.c
diff options
context:
space:
mode:
authorRozelette <Rozelette@users.noreply.github.com>2021-04-07 16:16:16 -0500
committerGitHub <noreply@github.com>2021-04-07 17:16:16 -0400
commitd2c181a0a99430cd9893b022bd179cffc11dbbba (patch)
treeceb21e76b835263ac1c8c67835b23c65eb9bcb10 /src/code/z_effect_soft_sprite_old_init.c
parentb22e26dbd84042ffa35d4ee38f44574550d88c82 (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_effect_soft_sprite_old_init.c')
-rw-r--r--src/code/z_effect_soft_sprite_old_init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/code/z_effect_soft_sprite_old_init.c b/src/code/z_effect_soft_sprite_old_init.c
index bc2ac56c9..b0bbccfab 100644
--- a/src/code/z_effect_soft_sprite_old_init.c
+++ b/src/code/z_effect_soft_sprite_old_init.c
@@ -26,7 +26,7 @@ void EffectSs_DrawGEffect(GlobalContext* globalCtx, EffectSs* this, void* textur
if (mtx != NULL) {
gSPMatrix(POLY_XLU_DISP++, mtx, G_MTX_NOPUSH | G_MTX_LOAD | G_MTX_MODELVIEW);
- gSPSegment(POLY_XLU_DISP++, 0x08, Lib_PtrSegToVirt(texture));
+ gSPSegment(POLY_XLU_DISP++, 0x08, Lib_SegmentedToVirtual(texture));
func_8012C9BC(gfxCtx);
gDPSetPrimColor(POLY_XLU_DISP++, 0, 0, this->rgPrimColorR, this->rgPrimColorG, this->rgPrimColorB,
this->rgPrimColorA);