From 4b16b7a0114b2f61f6533d3123a2305e85a4e1f1 Mon Sep 17 00:00:00 2001 From: RocketRobz Date: Wed, 12 Jan 2022 20:36:44 -0700 Subject: [PATCH] Derp fix --- arm9/source/ndsInfo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arm9/source/ndsInfo.cpp b/arm9/source/ndsInfo.cpp index 3026398..02c05cc 100644 --- a/arm9/source/ndsInfo.cpp +++ b/arm9/source/ndsInfo.cpp @@ -123,7 +123,7 @@ void ndsInfo(const char *path) { pressed = keysDown(); held = keysDownRepeat(); - if(iconAnimation[animationFrame + 1] != 0x0100 && animationFrame < 0x40) { + if(iconAnimation[animationFrame] && iconAnimation[animationFrame + 1] != 0x0100 && animationFrame < 0x40) { if(frameDelay < (iconAnimation[animationFrame] & 0xFF) - 1) { frameDelay++; } else {