diff options
| author | LagoLunatic <LagoLunatic@users.noreply.github.com> | 2025-01-08 15:42:47 -0500 |
|---|---|---|
| committer | LagoLunatic <LagoLunatic@users.noreply.github.com> | 2025-01-08 15:42:47 -0500 |
| commit | f74fd75332f1cd4af5e7223863815fec09a386ac (patch) | |
| tree | 9a4e31a6127ef3fd62b531d8a768788dd208da6f /src/m_Do/m_Do_printf.cpp | |
| parent | 3d63a54587795a7a237de6f749b69e8518a57c10 (diff) | |
Misc cleanup
Diffstat (limited to 'src/m_Do/m_Do_printf.cpp')
| -rw-r--r-- | src/m_Do/m_Do_printf.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/m_Do/m_Do_printf.cpp b/src/m_Do/m_Do_printf.cpp index 411e1757..5b4ba351 100644 --- a/src/m_Do/m_Do_printf.cpp +++ b/src/m_Do/m_Do_printf.cpp @@ -44,7 +44,7 @@ extern "C" int search_partial_address(void* address, int* module_id, int* sectio if (address == NULL) return 0xFFFFFFFF; - OSModuleInfo* module = *(OSModuleInfo**)0x800030C8; + OSModuleInfo* module = __OSModuleList.head; for (; module != NULL; module = (OSModuleInfo*)module->link.next) { u32 i, addr; OSSectionInfo* section = (OSSectionInfo*)module->sectionInfoOffset; |
