summaryrefslogtreecommitdiff
path: root/soh/src/code
diff options
context:
space:
mode:
authorvaguerant <vaguerant@users.noreply.github.com>2022-07-08 12:18:11 +1000
committerGitHub <noreply@github.com>2022-07-07 22:18:11 -0400
commit1c9195373dd920a37a71ad4f9e9fe786ccc37518 (patch)
tree493ab6421960a0178b317d571a9359f05700c1ec /soh/src/code
parentc78d2828a729a9b9f6aaf3698e9a82adae79aade (diff)
Invalidate text box icon before drawing (#607)
Diffstat (limited to 'soh/src/code')
-rw-r--r--soh/src/code/z_message_PAL.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/soh/src/code/z_message_PAL.c b/soh/src/code/z_message_PAL.c
index c6cfa9db5..dd6a52b47 100644
--- a/soh/src/code/z_message_PAL.c
+++ b/soh/src/code/z_message_PAL.c
@@ -543,6 +543,7 @@ void Message_DrawTextboxIcon(GlobalContext* globalCtx, Gfx** p, s16 x, s16 y) {
s16 envG;
s16 envB;
u8* iconTexture = font->iconBuf;
+ gSPInvalidateTexCache(gfx++, iconTexture);
if (sTextIsCredits) {
return;