Files
hackerlibultra/src/debug/assert.c
Mr-Wiseguy 2ab125a5f3 Matched 2.0I and 2.0J, fixed matched object count calculation (#53)
* Matched 2.0I and 2.0J, fixed matched object count calculation

* Update version checkbox matrix

* Mark irix 2.0H as N/A in the checkbox matrix since it's not available

* Address PR comments

* Changed tab to spaces on new files

* Converted tabs to spaces in other changes, fixed os_motor.h definitions
2023-09-02 23:17:04 -04:00

13 lines
343 B
C

#include "os.h"
#include "../os/osint.h"
#include "osint_debug.h"
void __assertBreak(void);
void __assert(const char* exp, const char* filename, int line) {
#ifndef _FINALROM
osSyncPrintf("\nASSERTION FAULT: %s, %d: \"%s\"\n", filename, line, exp);
__assertBreak; // Doesn't actually do anything, but is needed for matching
#endif
}