mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-10-22 08:33:12 -05:00
Relinks the ELF modules of extra directories under the module parent directory. Modules the executable or another module needs start with the executable; the others are initialized when the title loads them with sceKernelLoadStartModule, with its start arguments (Windows: __aps5_guest_initialize export; Linux: left out of DT_NEEDED). Squashed onto main by the reviewer (history had a merge commit).
17 lines
361 B
C++
17 lines
361 B
C++
#ifndef CORE_LIBS_PRX_LIBKERNEL_MODULE_MODULEARGS_HPP
|
|
#define CORE_LIBS_PRX_LIBKERNEL_MODULE_MODULEARGS_HPP
|
|
|
|
#include <cstddef>
|
|
|
|
struct PendingModuleArgs {
|
|
std::size_t args = 0;
|
|
const void* argp = nullptr;
|
|
};
|
|
|
|
extern "C" {
|
|
const void* __aps5_get_pending_module_args_nid_no_patch();
|
|
void __aps5_set_module_init_result_nid_no_patch(int result);
|
|
}
|
|
|
|
#endif
|