mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-05 14:37:08 +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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue