mirror of
https://github.com/zeldaret/oot.git
synced 2025-07-17 21:35:11 +00:00
macros.h 3/5: Split various macros (#2512)
* split out various macros * fix * fix2 * fix dw * libc path * fix macro * does this fix bss * fix bss
This commit is contained in:
parent
d4528a0541
commit
25b2fa4bca
35 changed files with 137 additions and 92 deletions
|
@ -1,9 +1,10 @@
|
|||
#ifndef FAULT_H
|
||||
#define FAULT_H
|
||||
|
||||
#include "ultra64.h"
|
||||
#include "attributes.h"
|
||||
#include "libu64/debug.h"
|
||||
#include "libu64/pad.h"
|
||||
#include "attributes.h"
|
||||
#include "ultra64.h"
|
||||
|
||||
#if !PLATFORM_N64
|
||||
// These are the same as the 3-bit ansi color codes
|
||||
|
@ -50,6 +51,12 @@ void Fault_Init(void);
|
|||
NORETURN void Fault_AddHungupAndCrashImpl(const char* exp1, const char* exp2);
|
||||
NORETURN void Fault_AddHungupAndCrash(const char* file, int line);
|
||||
|
||||
#if PLATFORM_N64 || DEBUG_FEATURES
|
||||
#define HUNGUP_AND_CRASH(file, line) Fault_AddHungupAndCrash(file, line)
|
||||
#else
|
||||
#define HUNGUP_AND_CRASH(file, line) LogUtils_HungupThread(file, line)
|
||||
#endif
|
||||
|
||||
// Client Registration
|
||||
|
||||
void Fault_AddClient(FaultClient* client, void* callback, void* arg0, void* arg1);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue