This commit is contained in:
Anghelo Carvajal 2025-12-09 10:06:13 -03:00
parent 1b9341dc2d
commit af738b0cbf
1 changed files with 9 additions and 8 deletions

View File

@ -22,10 +22,10 @@ void StackCheck_Init(StackEntry* entry, void* stackBottom, void* stackTop, u32 i
for (iter = sStackInfoListStart; iter != NULL; iter = iter->next) {
if (iter == entry) {
#if MM_VERSION <= N64_JP_1_1
#if MM_VERSION <= N64_JP_1_1
// is already in the list
osSyncPrintf("stackcheck_init: %08x は既にリスト中にある\n", entry);
#endif
#endif
return;
}
}
@ -74,10 +74,10 @@ void StackCheck_Cleanup(StackEntry* entry) {
}
if (inconsistency) {
#if MM_VERSION <= N64_JP_1_1
#if MM_VERSION <= N64_JP_1_1
// List is inconsistent
osSyncPrintf("stackcheck_cleanup: %08x リスト不整合です\n", entry);
#endif
#endif
}
}
@ -104,11 +104,12 @@ StackStatus StackCheck_GetState(StackEntry* entry) {
status = STACK_STATUS_OK;
}
#if MM_VERSION <= N64_JP_1_1
osSyncPrintf("head=%08x tail=%08x last=%08x used=%08x free=%08x [%s]\n", entry->head, entry->tail, last, used, free, (entry->name != NULL) ? entry->name : "(null)");
#else
#if MM_VERSION <= N64_JP_1_1
osSyncPrintf("head=%08x tail=%08x last=%08x used=%08x free=%08x [%s]\n", entry->head, entry->tail, last, used, free,
(entry->name != NULL) ? entry->name : "(null)");
#else
(void)"(null)";
#endif
#endif
return status;
}