Buffer Cache: disable reactive flushing in it.

This commit is contained in:
Fernando Sahmkow 2023-05-07 23:25:34 +02:00
parent 016c6feb49
commit 2df19ef0fd
3 changed files with 8 additions and 18 deletions

View file

@ -510,13 +510,6 @@ VideoCore::RasterizerDownloadArea RasterizerVulkan::GetFlushArea(VAddr addr, u64
return *area;
}
}
{
std::scoped_lock lock{buffer_cache.mutex};
auto area = buffer_cache.GetFlushArea(addr, size);
if (area) {
return *area;
}
}
VideoCore::RasterizerDownloadArea new_area{
.start_address = Common::AlignDown(addr, Core::Memory::YUZU_PAGESIZE),
.end_address = Common::AlignUp(addr + size, Core::Memory::YUZU_PAGESIZE),