diff options
| author | cadmic <cadmic24@gmail.com> | 2024-11-15 10:18:05 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-11-15 13:18:05 -0500 |
| commit | cf4dc98cc934cdb62ed8b5001602468fac6dfeb3 (patch) | |
| tree | 64a88d718b4de4bb712c55401c28c72e98170e23 /include/unk.h | |
| parent | e46fcbdbc95a2b1a87f1a79f7d40be19fc2013ee (diff) | |
Use debug macros even in N64-only code (#2298)
* Use debug macros even in N64-only code
* Use UNK_FILE/UNK_LINE instead
Diffstat (limited to 'include/unk.h')
| -rw-r--r-- | include/unk.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/unk.h b/include/unk.h index e28f2bd8c..f8498b72d 100644 --- a/include/unk.h +++ b/include/unk.h @@ -11,6 +11,9 @@ #define UNK_FUN_PTR(name) void(*name)(void) #define UNK_ARGS #define UNK_SIZE 1 -#define UNK_LINE 1 + +// Unknown filename and line number for debug macros +#define UNK_FILE "<unknown>" +#define UNK_LINE 0 #endif |
