mirror of
https://github.com/zeldaret/mm.git
synced 2026-08-04 09:08:34 -04:00
Misc fixes (#1800)
* disasm_fix * dtor * Fault_LogThreadContext * rearrange microcode * sGfxPrintFont size of 0x800 * Move (null) to stackcheck * vimgr bss * sfx * Remove code_801D1E80 * z_en_hy_code * Fix assembler messages with endlabels and dlabels * xlitob data * Move skin unused bss pad to rumble
This commit is contained in:
+2
-2
@@ -468,7 +468,7 @@ void Fault_PrintThreadContext(OSThread* thread) {
|
||||
}
|
||||
}
|
||||
|
||||
void osSyncPrintfThreadContext(OSThread* thread) {
|
||||
void Fault_LogThreadContext(OSThread* thread) {
|
||||
__OSThreadContext* threadCtx;
|
||||
s16 causeStrIndex = _SHIFTR((u32)thread->context.cause, 2, 5);
|
||||
|
||||
@@ -1035,7 +1035,7 @@ void Fault_ThreadEntry(void* arg) {
|
||||
do {
|
||||
// Thread context page
|
||||
Fault_PrintThreadContext(faultedThread);
|
||||
osSyncPrintfThreadContext(faultedThread);
|
||||
Fault_LogThreadContext(faultedThread);
|
||||
Fault_WaitForInput();
|
||||
|
||||
// Stack trace page
|
||||
|
||||
@@ -266,8 +266,6 @@ void* FaultDrawer_FormatStringFunc(void* arg, const char* str, size_t count) {
|
||||
return arg;
|
||||
}
|
||||
|
||||
const char D_80099080[] = "(null)";
|
||||
|
||||
s32 FaultDrawer_VPrintf(const char* fmt, va_list ap) {
|
||||
return _Printf(FaultDrawer_FormatStringFunc, sFaultDrawerInstance, fmt, ap);
|
||||
}
|
||||
|
||||
@@ -94,6 +94,8 @@ StackStatus StackCheck_GetState(StackEntry* entry) {
|
||||
status = STACK_STATUS_OK;
|
||||
}
|
||||
|
||||
(void)"(null)";
|
||||
|
||||
return status;
|
||||
}
|
||||
|
||||
|
||||
+5
-2
@@ -1,7 +1,10 @@
|
||||
.include "macro.inc"
|
||||
|
||||
.section .data
|
||||
.section .text
|
||||
|
||||
dlabel rspbootTextStart
|
||||
.balign 16
|
||||
|
||||
glabel rspbootTextStart
|
||||
.incbin "incbin/rspbootText"
|
||||
endlabel rspbootTextStart
|
||||
dlabel rspbootTextEnd
|
||||
|
||||
Reference in New Issue
Block a user