mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-15 11:18:36 +12:00
New named_thread template (preview)
Old class named_thread renamed to old_thread It's too hard to move in a single commit
This commit is contained in:
parent
4ef384a161
commit
306f95a9ae
22 changed files with 392 additions and 204 deletions
|
@ -2675,7 +2675,7 @@ namespace rsx
|
|||
reader_lock lock(m_mtx_task);
|
||||
|
||||
const auto map_range = address_range::start_length(address, size);
|
||||
|
||||
|
||||
if (!m_invalidated_memory_range.valid())
|
||||
return;
|
||||
|
||||
|
@ -2714,7 +2714,7 @@ namespace rsx
|
|||
std::lock_guard lock(m_mtx_task);
|
||||
const bool existing_range_valid = m_invalidated_memory_range.valid();
|
||||
const auto unmap_range = address_range::start_length(address, size);
|
||||
|
||||
|
||||
if (existing_range_valid && m_invalidated_memory_range.touches(unmap_range))
|
||||
{
|
||||
// Merge range-to-invalidate in case of consecutive unmaps
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue