summaryrefslogtreecommitdiff
path: root/soh/src/boot/assert.c
diff options
context:
space:
mode:
Diffstat (limited to 'soh/src/boot/assert.c')
-rw-r--r--soh/src/boot/assert.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/soh/src/boot/assert.c b/soh/src/boot/assert.c
index b7895dddd..5a44a9308 100644
--- a/soh/src/boot/assert.c
+++ b/soh/src/boot/assert.c
@@ -1,5 +1,6 @@
#include "global.h"
+#ifndef __SWITCH__
void __assert(const char* exp, const char* file, s32 line) {
char msg[256];
@@ -7,3 +8,4 @@ void __assert(const char* exp, const char* file, s32 line) {
sprintf(msg, "ASSERT: %s:%d(%d)", file, line, osGetThreadId(NULL));
Fault_AddHungupAndCrashImpl(msg, exp);
}
+#endif \ No newline at end of file