summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon
diff options
context:
space:
mode:
authorStenzek <stenzek@gmail.com>2019-03-20 20:05:51 +1000
committerStenzek <stenzek@gmail.com>2019-03-20 20:05:51 +1000
commitbf0b52efc61bf1fc32c36358f4e5e6ac48636ff5 (patch)
tree41b9492af05377b6013ad5ad38940ae32278eed8 /Source/Core/VideoCommon
parent54e09886d8fdaa1eefbb28e19165fdea4900b61a (diff)
TextureCacheBase: Fix infinite loop in DoPartialTextureUpdates
Diffstat (limited to 'Source/Core/VideoCommon')
-rw-r--r--Source/Core/VideoCommon/TextureCacheBase.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/Core/VideoCommon/TextureCacheBase.cpp b/Source/Core/VideoCommon/TextureCacheBase.cpp
index 0418eef40e..a5ff0081c5 100644
--- a/Source/Core/VideoCommon/TextureCacheBase.cpp
+++ b/Source/Core/VideoCommon/TextureCacheBase.cpp
@@ -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;
}