mirror of
https://github.com/RPCSX/rpcsx.git
synced 2025-12-06 07:12:14 +01:00
[rpcsx-os] linker: do not override segment protection
This commit is contained in:
parent
23a1179473
commit
ade074721e
|
|
@ -811,10 +811,6 @@ Ref<orbis::Module> rx::linker::loadModule(std::span<std::byte> image,
|
||||||
// }
|
// }
|
||||||
// std::printf("]\n");
|
// std::printf("]\n");
|
||||||
|
|
||||||
for (auto seg : std::span(result->segments, result->segmentCount)) {
|
|
||||||
rx::vm::protect(seg.addr, seg.size, rx::vm::kMapProtCpuAll);
|
|
||||||
}
|
|
||||||
|
|
||||||
result->proc = process;
|
result->proc = process;
|
||||||
|
|
||||||
std::printf("Loaded module '%s' (%lx) from object '%s', address: %p - %p\n",
|
std::printf("Loaded module '%s' (%lx) from object '%s', address: %p - %p\n",
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue