mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-26 15:55:31 +01:00
TextureCache: Fix a possible crash when partial updating palette textures
This commit is contained in:
parent
84bcbef944
commit
1070192165
@ -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…
x
Reference in New Issue
Block a user