Merge pull request #7914 from stenzek/partial-update-infinite-loop

TextureCacheBase: Fix infinite loop in DoPartialTextureUpdates
This commit is contained in:
Tilka 2019-03-21 23:22:17 +00:00 committed by GitHub
commit 87cf94ec86
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -398,6 +398,7 @@ TextureCacheBase::DoPartialTextureUpdates(TCacheEntry* entry_to_update, u8* pale
static_cast<u32>(dst_x) >= entry_to_update->native_width ||
static_cast<u32>(dst_y) >= entry_to_update->native_height)
{
++iter.first;
continue;
}