mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-10 00:41:26 +12: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))
|
if (_test_map(addr, size))
|
||||||
{
|
{
|
||||||
auto block = std::make_shared<block_t>(addr, size, flags);
|
return std::make_shared<block_t>(addr, size, flags);
|
||||||
|
|
||||||
g_locations.emplace_back(block);
|
|
||||||
|
|
||||||
return block;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -794,7 +790,11 @@ namespace vm
|
||||||
return nullptr;
|
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)
|
std::shared_ptr<block_t> unmap(u32 addr, bool must_be_empty)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue