Fix vm::reserve_map NRVO

This commit is contained in:
Nekotekina 2019-09-17 23:26:59 +03:00
parent 7e2bb0fd1f
commit 20cb19618d
1 changed files with 6 additions and 1 deletions

View File

@ -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_