From bf0b52efc61bf1fc32c36358f4e5e6ac48636ff5 Mon Sep 17 00:00:00 2001 From: Stenzek Date: Wed, 20 Mar 2019 20:05:51 +1000 Subject: [PATCH] TextureCacheBase: Fix infinite loop in DoPartialTextureUpdates --- Source/Core/VideoCommon/TextureCacheBase.cpp | 1 + 1 file changed, 1 insertion(+) 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(dst_x) >= entry_to_update->native_width || static_cast(dst_y) >= entry_to_update->native_height) { + ++iter.first; continue; }