mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-06-26 20:36:16 +00:00
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:
parent
20ea0ee190
commit
a711f4d86e
5 changed files with 50 additions and 30 deletions
|
@ -144,6 +144,8 @@ public:
|
|||
void FreeTlsForNonPrimaryThread(void* pointer);
|
||||
|
||||
s32 LoadModule(const std::filesystem::path& elf_name, bool is_dynamic = false);
|
||||
s32 LoadAndStartModule(const std::filesystem::path& path, u64 args, const void* argp,
|
||||
int* pRes);
|
||||
Module* FindByAddress(VAddr address);
|
||||
|
||||
void Relocate(Module* module);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue