Skip to content
Permalink
Browse files

TextureCache: Fix a possible crash when partial updating palette text…

…ures
  • Loading branch information...
stenzek committed Jan 19, 2019
1 parent 84bcbef commit 10701921654c8990e42e3e944c422d94c399099c
Showing with 2 additions and 1 deletion.
  1. +2 −1 Source/Core/VideoCommon/TextureCacheBase.cpp
@@ -429,7 +429,8 @@ TextureCacheBase::DoPartialTextureUpdates(TCacheEntry* entry_to_update, u8* pale
{
// Remove the temporary converted texture, it won't be used anywhere else
// TODO: It would be nice to convert and copy in one step, but this code path isn't common
InvalidateTexture(GetTexCacheIter(entry));
iter.first = InvalidateTexture(iter.first);
continue;
}
else
{

0 comments on commit 1070192

Please sign in to comment.
You can’t perform that action at this time.