mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-05-03 17:58:34 +00:00
TextureCache: Fix a possible crash when partial updating palette textures
This commit is contained in:
parent
84bcbef944
commit
1070192165
1 changed files with 2 additions and 1 deletions
|
@ -429,7 +429,8 @@ TextureCacheBase::DoPartialTextureUpdates(TCacheEntry* entry_to_update, u8* pale
|
||||||
{
|
{
|
||||||
// Remove the temporary converted texture, it won't be used anywhere else
|
// 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
|
// 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
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue