summaryrefslogtreecommitdiff
path: root/arm9/src/main.c
diff options
context:
space:
mode:
authorAkira Akashi <rubenru09@aol.com>2021-06-10 22:42:30 +0100
committerGitHub <noreply@github.com>2021-06-10 22:42:30 +0100
commite8d0b49a6864d6077a5d7b1c123c49481fe14bfe (patch)
treed9c489014e94856bc94273499ea7b5eca66ac0dc /arm9/src/main.c
parent68013d52ebaf7094a782260d97888e9cb6b1d172 (diff)
parentbf8b0b7a9f33de9de350927b5c4001909da3c889 (diff)
Merge pull request #401 from PikalaxALT/pikalax_work
[LEAK-INFORMED] Match and document funcs in unk_02016B94.c
Diffstat (limited to 'arm9/src/main.c')
-rw-r--r--arm9/src/main.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arm9/src/main.c b/arm9/src/main.c
index fa35c81c..979fb7ca 100644
--- a/arm9/src/main.c
+++ b/arm9/src/main.c
@@ -168,8 +168,7 @@ THUMB_FUNC void Main_RunOverlayManager(void)
THUMB_FUNC void RegisterMainOverlay(FSOverlayID id, const struct Unk21DBE18 * arg1)
{
- if (UNK_02016FA8.unkC != NULL)
- GF_AssertFail();
+ GF_ASSERT(UNK_02016FA8.unkC == NULL);
UNK_02016FA8.unk8 = id;
UNK_02016FA8.unkC = arg1;
}