mirror of
https://github.com/zeldaret/oot.git
synced 2025-07-12 10:54:44 +00:00
Filename & line number args cleanup (#1891)
* Filename & line number args cleanup * Use int for line number args over s32/u32 * Add missing const qualifiers from filename args * Fix gcc warning in game.c * Add comment to weird assignments in GameState_Init
This commit is contained in:
parent
a32221c36e
commit
dcf61174e9
17 changed files with 76 additions and 73 deletions
|
@ -13,7 +13,7 @@ void GameAlloc_Log(GameAlloc* this) {
|
|||
}
|
||||
|
||||
#if OOT_DEBUG
|
||||
void* GameAlloc_MallocDebug(GameAlloc* this, u32 size, const char* file, s32 line) {
|
||||
void* GameAlloc_MallocDebug(GameAlloc* this, u32 size, const char* file, int line) {
|
||||
GameAllocEntry* ptr = SystemArena_MallocDebug(size + sizeof(GameAllocEntry), file, line);
|
||||
|
||||
if (ptr != NULL) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue