libkernel: improve module finding in sceKernelLoadStartModule (#2541)

* libkernel: improve module finding in sceKernelLoadStartModule

* clang-format

* asserts for system module

* fixes

* linting

* cleaning

* fix linker impl
This commit is contained in:
panzone91 2025-03-09 22:44:17 +01:00 committed by GitHub
parent 20ea0ee190
commit a711f4d86e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 50 additions and 30 deletions

View file

@ -203,7 +203,7 @@ public:
return (rela_bits[index >> 3] >> (index & 7)) & 1;
}
s32 Start(size_t args, const void* argp, void* param);
s32 Start(u64 args, const void* argp, void* param);
void LoadModuleToMemory(u32& max_tls_index);
void LoadDynamicInfo();
void LoadSymbols();