mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-04-20 11:35:45 +00:00
Error reporting on failed memory allocation (#1091)
* Error reporting on failed memory allocation * Formatting
This commit is contained in:
parent
eef0e6fc63
commit
c73fad6772
1 changed files with 2 additions and 1 deletions
|
@ -72,7 +72,8 @@ struct AddressSpace::Impl {
|
|||
}
|
||||
reduction += ReductionOnFail;
|
||||
}
|
||||
ASSERT_MSG(virtual_base, "Unable to reserve virtual address space!");
|
||||
ASSERT_MSG(virtual_base, "Unable to reserve virtual address space: {}",
|
||||
Common::GetLastErrorMsg());
|
||||
|
||||
// Take the reduction off of the system managed area, and leave the others unchanged.
|
||||
system_managed_base = virtual_base;
|
||||
|
|
Loading…
Add table
Reference in a new issue