mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-21 12:05:23 +00:00
parent
a3daa99a33
commit
5e20d4b481
1 changed files with 6 additions and 6 deletions
|
@ -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…
Add table
Reference in a new issue