mirror of
https://github.com/zeldaret/oot.git
synced 2025-07-16 12:54:40 +00:00
[ntsc-1.2] Match game.c, z_play.c, z_room.c (#2117)
* Match z_room.c * Match game.c and z_play.c * Add undefined syms * Rewrite condition based on other file matches
This commit is contained in:
parent
87914c6cc6
commit
e7cf2fceac
8 changed files with 174 additions and 25 deletions
|
@ -214,7 +214,6 @@ extern struct GraphicsContext* __gfxCtx;
|
|||
#define ZELDA_ARENA_FREE(size, file, line) ZeldaArena_FreeDebug(size, file, line)
|
||||
#define LOG_UTILS_CHECK_NULL_POINTER(exp, ptr, file, line) LogUtils_CheckNullPointer(exp, ptr, file, line)
|
||||
#define LOG_UTILS_CHECK_VALID_POINTER(exp, ptr, file, line) LogUtils_CheckValidPointer(exp, ptr, file, line)
|
||||
#define HUNGUP_AND_CRASH(file, line) Fault_AddHungupAndCrash(file, line)
|
||||
#define GAME_ALLOC_MALLOC(alloc, size, file, line) GameAlloc_MallocDebug(alloc, size, file, line)
|
||||
|
||||
#else
|
||||
|
@ -247,10 +246,15 @@ extern struct GraphicsContext* __gfxCtx;
|
|||
#define ZELDA_ARENA_FREE(size, file, line) ZeldaArena_Free(size)
|
||||
#define LOG_UTILS_CHECK_NULL_POINTER(exp, ptr, file, line) (void)0
|
||||
#define LOG_UTILS_CHECK_VALID_POINTER(exp, ptr, file, line) (void)0
|
||||
#define HUNGUP_AND_CRASH(file, line) LogUtils_HungupThread(file, line)
|
||||
#define GAME_ALLOC_MALLOC(alloc, size, file, line) GameAlloc_Malloc(alloc, size)
|
||||
|
||||
#endif /* OOT_DEBUG */
|
||||
#endif
|
||||
|
||||
#if PLATFORM_N64 || OOT_DEBUG
|
||||
#define HUNGUP_AND_CRASH(file, line) Fault_AddHungupAndCrash(file, line)
|
||||
#else
|
||||
#define HUNGUP_AND_CRASH(file, line) LogUtils_HungupThread(file, line)
|
||||
#endif
|
||||
|
||||
#if OOT_NTSC
|
||||
#define LANGUAGE_ARRAY(jpn, eng, ger, fra) { jpn, eng }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue