ldr_ro: Add error check for memory allocation failure
This commit is contained in:
parent
c0a9abc3e1
commit
51af996854
4 changed files with 27 additions and 13 deletions
|
@ -252,8 +252,8 @@ ResultCode Process::HeapFree(VAddr target, u32 size) {
|
|||
return vm_manager.HeapFree(target, size);
|
||||
}
|
||||
|
||||
ResultCode Process::MirrorMemory(VAddr dst_addr, VAddr src_addr, u64 size) {
|
||||
return vm_manager.MirrorMemory(dst_addr, src_addr, size);
|
||||
ResultCode Process::MirrorMemory(VAddr dst_addr, VAddr src_addr, u64 size, MemoryState state) {
|
||||
return vm_manager.MirrorMemory(dst_addr, src_addr, size, state);
|
||||
}
|
||||
|
||||
ResultCode Process::UnmapMemory(VAddr dst_addr, VAddr /*src_addr*/, u64 size) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue