Link libu64/debug.c

This commit is contained in:
Cuyler36
2023-11-25 12:32:54 -05:00
parent 881c71ffc4
commit b0bd815982
2 changed files with 8 additions and 8 deletions
+3 -4
View File
@@ -59,10 +59,9 @@ libforest/osreport.c:
# .sbss: [0x80218628, 0x80218630]
libforest/ReconfigBATs.c:
.text: [0x8005adac, 0x8005aed4]
#libu64/debug.c: //not match
# .text: [0x8005aed4, 0x8005af30]
# .data: [0x800dc7c8, 0x800dc7f0]
#libu64/gfxprint.c: specify ranges later
libu64/debug.c:
.text: [0x8005aed4, 0x8005af30]
.data: [0x800dc7c8, 0x800dc7f0]
libu64/gfxprint.c:
.text: [0x8005af30, 0x8005b9a8]
.data: [0x800dc7f0, 0x800dc810]
+5 -4
View File
@@ -1,8 +1,9 @@
#include "libu64/debug.h"
#include "libultra/osThread.h"
#include "libc64/sprintf.h"
void _dbg_hungup(const char* name, s32 line) {
char dbg_tbuf[0x100];
sprintf(dbg_tbuf, "*** HungUp in thread %d, [%s:%d] ***\n",osGetThreadId(0), name, line);
extern void _dbg_hungup(const char* file, int line) {
char dbg_tbuf[0x100];
sprintf(dbg_tbuf, "*** HungUp in thread %d, [%s:%d] ***\n", osGetThreadId(0), file, line);
}