mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-01-20 07:30:24 +01:00
[rpcsx-os] linker: Fix moduleParam check (#38)
This commit is contained in:
parent
1286b4f9ef
commit
8a5eb8e531
|
|
@ -401,7 +401,7 @@ Ref<orbis::Module> rx::linker::loadModule(std::span<std::byte> image,
|
|||
|
||||
if (sceModuleParamIndex >= 0) {
|
||||
result->moduleParam =
|
||||
phdrs[sceProcParamIndex].p_vaddr
|
||||
phdrs[sceModuleParamIndex].p_vaddr
|
||||
? reinterpret_cast<void *>(imageBase +
|
||||
phdrs[sceModuleParamIndex].p_vaddr)
|
||||
: nullptr;
|
||||
|
|
|
|||
Loading…
Reference in a new issue