summaryrefslogtreecommitdiff
path: root/src/code/game.c
diff options
context:
space:
mode:
authorAnghelo Carvajal <angheloalf95@gmail.com>2023-09-02 15:34:29 -0400
committerGitHub <noreply@github.com>2023-09-02 15:34:29 -0400
commit4fa13e4132cf8adb2f07bb34927e62e525c8cc79 (patch)
tree5f00c923350f9386a7f46b0c50b888c878d7eacf /src/code/game.c
parent9cceea48f31bdeea1c2933a1f64a74b60b80f17a (diff)
Move libultra function declarations to libultra headers (#1196)
* Delete unused headers * Move PR and io to ultra64 * move headers to ultra64 * more cleanups * more reorganizing * i think that should be all * format * ifdef guards cleanup * Add IO_READ and IO_WRITE macros for future use * warnings * review Co-authored-by: Tharo <17233964+Thar0@users.noreply.github.com> * warnings again * warn * ifdef guards * fix merge * fix merge * fix merge * bss * padutils.h * bss * bss * bss * fix merge * bss * bss * bss * fix merge * fixes * fixes * bss * bss * fix merge * fix * fix * fix includepaths * fix paths * bss * fix * ultra64/ -> PR/ * header guards * fix ehader guards * fix * fix++ * format * bss is borken * prevent 2 * :despair: * bss * rename assert to dbg_hungup * fix * a * fix * bss * fix * bss * bss --------- Co-authored-by: Tharo <17233964+Thar0@users.noreply.github.com>
Diffstat (limited to 'src/code/game.c')
-rw-r--r--src/code/game.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/code/game.c b/src/code/game.c
index dc1e1b93e..4f2df63cd 100644
--- a/src/code/game.c
+++ b/src/code/game.c
@@ -11,6 +11,7 @@
#include "z64vismono.h"
#include "z64viszbuf.h"
#include "overlays/kaleido_scope/ovl_kaleido_scope/z_kaleido_scope.h"
+#include "debug.h"
s32 gFramerateDivisor = 1;
f32 gFramerateDivisorF = 1.0f;
@@ -168,7 +169,7 @@ void GameState_InitArena(GameState* gameState, size_t size) {
}
THA_Init(&gameState->heap, NULL, 0);
- __assert("../game.c", 1035);
+ _dbg_hungup("../game.c", 1035);
}
void GameState_Realloc(GameState* gameState, size_t size) {
@@ -192,7 +193,7 @@ void GameState_Realloc(GameState* gameState, size_t size) {
THA_Init(&gameState->heap, gameArena, size);
} else {
THA_Init(&gameState->heap, NULL, 0);
- __assert("../game.c", 1074);
+ _dbg_hungup("../game.c", 1074);
}
}