Invalidate text box icon before drawing (#607)

This commit is contained in:
vaguerant 2022-07-08 12:18:11 +10:00 committed by GitHub
parent c78d2828a7
commit 1c9195373d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;