diff options
| author | louist103 <35883445+louist103@users.noreply.github.com> | 2020-07-30 15:50:18 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-07-30 21:50:18 +0200 |
| commit | 449b2247fdbe3cd3c424637ec7d6973caa697f0f (patch) | |
| tree | 79950f8f3806cfe9589eb03832be6ab612cf8510 /src/code/fault.c | |
| parent | c3421dda0c841d3d905ac23601dc84e2cb71034d (diff) | |
Math Sizes (#297)
* Math Sizes
Added sizes to most variable types
* Removed sizes and fixed pads
Removed sizes from base types and cleaned up pads
* PR fixes
Diffstat (limited to 'src/code/fault.c')
| -rw-r--r-- | src/code/fault.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/code/fault.c b/src/code/fault.c index 892e110c9..c5972c3a3 100644 --- a/src/code/fault.c +++ b/src/code/fault.c @@ -882,7 +882,7 @@ void Fault_LogStackTrace(OSThread* thread, s32 height) { u32 ra = thread->context.ra; u32 pc = thread->context.pc; u32 addr; - u32 pad; + s32 pad; osSyncPrintf("STACK TRACE\nSP PC (VPC)\n"); for (line = 1; line < height && (ra != 0 || sp != 0) && pc != (u32)__osCleanupThread; line++) { @@ -955,7 +955,7 @@ void Fault_UpdatePad() { void Fault_ThreadEntry(void* arg) { OSMesg msg; OSThread* faultedThread; - u32 pad; + s32 pad; osSetEventMesg(OS_EVENT_CPU_BREAK, &sFaultStructPtr->queue, 1); osSetEventMesg(OS_EVENT_FAULT, &sFaultStructPtr->queue, 2); |
