mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-19 09:19:05 +02:00
Replacement: Save textures even if already replaced, if the png is missing.
Fixes #17182 Not exactly sure what behavior we really want, but I think this one is OK, and at least more similar to the old one. Now we save already-replaced textures if the named replacement texture is missing, and there isn't already a hash-named one in new or the "root".
This commit is contained in:
1 parent
668a6d63cb
commit
4e41233bb7
6 files changed
+35
-16
No files matched your search
@@ -648,7 +648,7 @@ void TextureCacheVulkan::BuildTexture(TexCacheEntry *const entry) {
|
||||
replacedInfo.isVideo = IsVideo(entry->addr);
|
||||
replacedInfo.isFinal = (entry->status & TexCacheEntry::STATUS_TO_SCALE) == 0;
|
||||
replacedInfo.fmt = FromVulkanFormat(actualFmt);
|
||||
replacer_.NotifyTextureDecoded(replacedInfo, data, byteStride, plan.baseLevelSrc + i, mipUnscaledWidth, mipUnscaledHeight, w, h);
|
||||
replacer_.NotifyTextureDecoded(plan.replaced, replacedInfo, data, byteStride, plan.baseLevelSrc + i, mipUnscaledWidth, mipUnscaledHeight, w, h);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user