mirror of
https://github.com/RPCS3/rpcs3.git
synced 2026-01-10 10:40:28 +01:00
Relax allocations in ppu_load_exec
This commit is contained in:
parent
c14eb4e54a
commit
7b4c044480
|
|
@ -975,7 +975,7 @@ void ppu_load_exec(const ppu_exec_object& elf)
|
|||
if (prog.bin.size() > size || prog.bin.size() != prog.p_filesz)
|
||||
fmt::throw_exception("Invalid binary size (0x%llx, memsz=0x%x)", prog.bin.size(), size);
|
||||
|
||||
if (!vm::falloc(addr, size, vm::main))
|
||||
if (!vm::falloc(addr, size))
|
||||
fmt::throw_exception("vm::falloc() failed (addr=0x%x, memsz=0x%x)", addr, size);
|
||||
|
||||
// Copy segment data, hash it
|
||||
|
|
|
|||
|
|
@ -787,6 +787,7 @@ namespace vm
|
|||
std::make_shared<block_t>(0xD0000000, 0x10000000), // stack
|
||||
std::make_shared<block_t>(0xE0000000, 0x20000000), // SPU reserved
|
||||
std::make_shared<block_t>(0x40000000, 0x10000000), // rsx contexts
|
||||
std::make_shared<block_t>(0x30000000, 0x10000000), // main extend
|
||||
};
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue