VERY experimental Nintendo Switch 2 emulator
C++
Texture Cache: Fix blitting.
Fernando Sahmkowceace5732039
diff --git a/src/video_core/texture_cache/util.cpp b/src/video_core/texture_cache/util.cppindex 9922aa0cc1..ddc9fb13a7 100644--- a/src/video_core/texture_cache/util.cpp+++ b/src/video_core/texture_cache/util.cpp@@ -1157,10 +1157,10 @@ void DeduceBlitImages(ImageInfo& dst_info, ImageInfo& src_info, const ImageBase*if (dst && GetFormatType(dst->info.format) != SurfaceType::ColorTexture) {dst_info.format = dst->info.format;}- if (!dst && src && GetFormatType(src->info.format) != SurfaceType::ColorTexture) {+ if (src && GetFormatType(src->info.format) != SurfaceType::ColorTexture) {dst_info.format = src->info.format;}- if (!src && dst && GetFormatType(dst->info.format) != SurfaceType::ColorTexture) {+ if (dst && GetFormatType(dst->info.format) != SurfaceType::ColorTexture) {src_info.format = dst->info.format;}}