mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-03-12 04:14:35 +00:00
Fix vm::reserve_map NRVO
This commit is contained in:
parent
7e2bb0fd1f
commit
20cb19618d
@ -1079,7 +1079,12 @@ namespace vm
|
||||
// Fixed address allocation
|
||||
area = _get_map(location, addr);
|
||||
|
||||
return !area ? _map(addr, area_size, flags) : area;
|
||||
if (area)
|
||||
{
|
||||
return area;
|
||||
}
|
||||
|
||||
return _map(addr, area_size, flags);
|
||||
}
|
||||
|
||||
inline namespace ps3_
|
||||
|
Loading…
x
Reference in New Issue
Block a user