aboutsummaryrefslogtreecommitdiff
path: root/src/ungrateful.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ungrateful.h')
-rw-r--r--src/ungrateful.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ungrateful.h b/src/ungrateful.h
index 70683a7..71e6231 100644
--- a/src/ungrateful.h
+++ b/src/ungrateful.h
@@ -95,7 +95,7 @@
#define assert(expr) if ((int)(expr) == 0) {\
fprintf(stderr, "Assert at %s:%d failed!\n", __FILE__, __LINE__); \
- *((int *)0) = 0; \
+ __TRAP(); \
}
#else
@@ -623,7 +623,6 @@ extern double un_m_ease_oquadd(double t);
extern void un_m_mat_mulf(float *v, float *left, float *right);
extern void un_m_mat_identityf(float *v);
-
/* Sorting */
#define UN_COMP_PROC(name) s32 name(u64 size, void *a, void *b)