mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-07-21 17:44:35 +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
@ -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…
Reference in New Issue
Block a user