summaryrefslogtreecommitdiff
path: root/arm9/src/error_handling.c
blob: 0b76ccff4db864c5b51c99ce0f5c0a1c2906a7d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#include "global.h"
#include "error_handling.h"
#include "error_message_reset.h"
#include "unk_02031734.h"



THUMB_FUNC void GF_AssertFail(void)
{
    if (FUN_02031810())
    {
        if (OS_GetProcMode() != OS_PROCMODE_IRQ)
        {
            PrintErrorMessageAndReset();
        }
    }
}