d_kankyo_wether / d_eye_hl (#178)

* d_eye_hl / d_kankyo_wether wip

* more d_kankyo_wether + format

* remove asm

* some d_kankyo wip

* fix dccs vtable

* some m_Do_graphic / d_meter2_draw work
This commit is contained in:
TakaRikka
2022-01-25 12:24:14 -08:00
committed by GitHub
parent 6f4d068f1d
commit 612f26c132
241 changed files with 3715 additions and 9755 deletions
+1 -1
View File
@@ -339,7 +339,7 @@ bool JUTException::searchPartialModule(u32 address, u32* module_id, u32* section
OSModuleInfo* module = *(OSModuleInfo**)0x800030C8;
while (module) {
OSSectionInfo* section = (OSSectionInfo*)module->info.sectionInfoOffset;
for (u32 i = 0; i < module->mNumSections; section=section+1, i++) {
for (u32 i = 0; i < module->mNumSections; section = section + 1, i++) {
if (section->mSize) {
u32 addr = ALIGN_PREV(section->mOffset, 2);
if ((addr <= address) && (address < addr + section->mSize)) {
@@ -11,7 +11,6 @@
// Forward References:
//
extern "C" void memcmp();
extern "C" void __memrchr();
extern "C" void memchr();
extern "C" void memmove();
@@ -33,7 +32,7 @@ extern "C" void __copy_longs_aligned();
#pragma push
#pragma optimization_level 0
#pragma optimizewithasm off
asm void memcmp() {
asm int memcmp(const void*, const void*, size_t) {
nofralloc
#include "asm/MSL_C.PPCEABI.bare.H/MSL_Common/Src/mem/memcmp.s"
}