mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-21 03:55:32 +00:00
Relax allocations in ppu_load_exec
This commit is contained in:
parent
c14eb4e54a
commit
7b4c044480
2 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue