diff options
| author | Derek Hensley <hensley.derek58@gmail.com> | 2023-09-11 17:38:31 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-09-12 10:38:31 +1000 |
| commit | 190b78549e0fa1a801786e73d914185e1fbca2a6 (patch) | |
| tree | bc62310b90bbd59005ef01873ca4a007d8c8ef31 /src/boot/O2/debug.c | |
| parent | 39523baf8c52d59b8ca52832c22e70eadf518f8a (diff) | |
Non libultra Boot Cleanup (#1370)
* reorganize
* math64
* rcp_utils
* osSyncPrintfUnused
* comment spacing
Diffstat (limited to 'src/boot/O2/debug.c')
| -rw-r--r-- | src/boot/O2/debug.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/boot/O2/debug.c b/src/boot/O2/debug.c new file mode 100644 index 000000000..3933b585e --- /dev/null +++ b/src/boot/O2/debug.c @@ -0,0 +1,11 @@ +#include "global.h" +#include "fault.h" + +void _dbg_hungup(const char* file, int lineNum) { + osGetThreadId(NULL); + Fault_AddHungupAndCrash(file, lineNum); +} + +void Reset(void) { + Fault_AddHungupAndCrash("Reset", 0); +} |
