1
0
mirror of https://github.com/RPCS3/rpcs3.git synced 2024-11-22 02:32:36 +01:00

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

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;
}