diff options
| author | louist103 <35883445+louist103@users.noreply.github.com> | 2023-06-27 19:53:35 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-06-27 19:53:35 -0400 |
| commit | acfc04d0acdfc83f4dce326844779195bfc51197 (patch) | |
| tree | 60d25ea9d39667d6e634471123bdc3928c1320a6 /soh/src/code/z_rcp.c | |
| parent | 7c5efb278582a7b438f58a804dd38c6795c8e0c9 (diff) | |
Add an error for implicit functions (#3017)
* Add the flag and fix errors
* switch assert and skin matrix
* new LUS
* Use normal assert
* hopefully fix WiiU
Signed-off-by: Louis <louist103@pop-os.localdomain>
---------
Signed-off-by: Louis <louist103@pop-os.localdomain>
Co-authored-by: Louis <louist103@pop-os.localdomain>
Co-authored-by: Christopher Leggett <chris@leggett.dev>
Diffstat (limited to 'soh/src/code/z_rcp.c')
| -rw-r--r-- | soh/src/code/z_rcp.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/soh/src/code/z_rcp.c b/soh/src/code/z_rcp.c index d74bd8975..adfa946e7 100644 --- a/soh/src/code/z_rcp.c +++ b/soh/src/code/z_rcp.c @@ -1,4 +1,5 @@ #include "global.h" +#include <assert.h> Gfx sSetupDL[SETUPDL_MAX][6] = { { @@ -852,7 +853,7 @@ Gfx* Gfx_SetFog(Gfx* gfx, s32 r, s32 g, s32 b, s32 a, s32 near, s32 far) { far++; } - ASSERT(near != far); + assert(near != far); gDPSetFogColor(gfx++, r, g, b, a); @@ -873,7 +874,7 @@ Gfx* Gfx_SetFogWithSync(Gfx* gfx, s32 r, s32 g, s32 b, s32 a, s32 near, s32 far) if (far == near) { far++; } - ASSERT(near != far); + assert(near != far); gDPPipeSync(gfx++); gDPSetFogColor(gfx++, r, g, b, a); |
