From 51ecf18f6ce5b9e06ec61423548270b4746f379d Mon Sep 17 00:00:00 2001 From: bonmas14 Date: Mon, 29 Sep 2025 19:58:12 +0300 Subject: Added zlib --- src/ungrateful.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/ungrateful.h') 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) -- cgit v1.2.3-70-g09d2