rsx: Fix surface deduplication crash

This commit is contained in:
kd-11 2021-06-06 23:08:18 +03:00 committed by kd-11
parent 2eebecfb17
commit 3f80d0b7d8
1 changed files with 1 additions and 1 deletions

View File

@ -968,7 +968,7 @@ namespace rsx
for (auto it = sections.crbegin(); it != sections.crend(); ++it)
{
if (it->base_address < range.start)
if (!it->surface->get_memory_range().inside(range))
{
continue;
}