summaryrefslogtreecommitdiff
path: root/arm9/src/font.c
diff options
context:
space:
mode:
Diffstat (limited to 'arm9/src/font.c')
-rw-r--r--arm9/src/font.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/arm9/src/font.c b/arm9/src/font.c
index 7bf618f5..acf52448 100644
--- a/arm9/src/font.c
+++ b/arm9/src/font.c
@@ -63,6 +63,11 @@ THUMB_FUNC void FUN_02002CC0(s32 param0)
#ifdef NONMATCHING
THUMB_FUNC void FUN_02002CF8(s32 param0)
{
+ /*
+ param0 is used as a index to a u32[]. The original assembly computes param0<<2 several times
+ in the function where the present attempt compute it once and keep it r6.
+ */
+
GF_ASSERT(param0 < 4);
if (UNK_02106FC8->unk84[param0] != NULL)