mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-12-31 13:50:23 +01:00
parent
a3daa99a33
commit
5e20d4b481
|
|
@ -735,11 +735,7 @@ namespace vm
|
|||
{
|
||||
if (_test_map(addr, size))
|
||||
{
|
||||
auto block = std::make_shared<block_t>(addr, size, flags);
|
||||
|
||||
g_locations.emplace_back(block);
|
||||
|
||||
return block;
|
||||
return std::make_shared<block_t>(addr, size, flags);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -794,7 +790,11 @@ namespace vm
|
|||
return nullptr;
|
||||
}
|
||||
|
||||
return _find_map(size, align, flags);
|
||||
auto block = _find_map(size, align, flags);
|
||||
|
||||
g_locations.emplace_back(block);
|
||||
|
||||
return block;
|
||||
}
|
||||
|
||||
std::shared_ptr<block_t> unmap(u32 addr, bool must_be_empty)
|
||||
|
|
|
|||
Loading…
Reference in a new issue