almost all of dolphin matched (#2036)

* TRK full match

* remove trk asm

* ar done

* cleanup some dolphin headers

* more dolphin cleanup

* cleanup / GD fully matched

* almost all of GX fully matched

* GX / Mtx full matched

* most of OS done

* pad done

* most of VI

* remove asm

* forgot couple vec funcs

* couple JUtility matches
This commit is contained in:
TakaRikka
2024-01-19 16:22:19 -08:00
committed by GitHub
parent f97fc769df
commit 981cfe7283
461 changed files with 11574 additions and 22635 deletions
+2 -2
View File
@@ -7,7 +7,7 @@
#include "stdio.h"
#include "dol2asm.h"
#include "dolphin/base/PPCArch.h"
#include "dolphin/os/OS.h"
#include "dolphin/os.h"
#include "m_Do/m_Do_ext.h"
/* 80450B98-80450B9C -00001 0004+00 0/0 6/6 0/0 .sbss None */
@@ -131,7 +131,7 @@ void mDoPrintf_vprintf(char const* fmt, va_list args) {
mDoPrintf_vprintf_Interrupt(fmt, args);
} else {
u8* stackPtr = OSGetStackPointer();
if (stackPtr < currentThread->stack_end + 0xA00 || stackPtr > currentThread->stack_base) {
if (stackPtr < (u8*)currentThread->stack_end + 0xA00 || stackPtr > currentThread->stack_base) {
mDoPrintf_vprintf_Interrupt(fmt, args);
} else {
mDoPrintf_vprintf_Thread(fmt, args);