mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-05 06:26:49 +00:00
Add debug info to ENOMEMs
This commit is contained in:
parent
989b353fbd
commit
27ea25a999
3 changed files with 4 additions and 3 deletions
|
|
@ -507,7 +507,7 @@ error_code _sys_ppu_thread_create(ppu_thread& ppu, vm::ptr<u64> thread_id, vm::p
|
|||
// Try to obtain "physical memory" from the default container
|
||||
if (!dct.take(stack_size))
|
||||
{
|
||||
return CELL_ENOMEM;
|
||||
return {CELL_ENOMEM, dct.size - dct.used};
|
||||
}
|
||||
|
||||
const vm::addr_t stack_base{vm::alloc(stack_size, vm::stack, 4096)};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue