VERY experimental Nintendo Switch 2 emulator
C++
Add missing pixel format mapping
Feng Chen2e834bfa4ab5
diff --git a/src/video_core/texture_cache/format_lookup_table.cpp b/src/video_core/texture_cache/format_lookup_table.cppindex ddfb726fe6..afa807d5d3 100644--- a/src/video_core/texture_cache/format_lookup_table.cpp+++ b/src/video_core/texture_cache/format_lookup_table.cpp@@ -139,6 +139,8 @@ PixelFormat PixelFormatFromTextureInfo(TextureFormat format, ComponentType red,return PixelFormat::D16_UNORM;case Hash(TextureFormat::S8D24, UINT, UNORM, UNORM, UNORM, LINEAR):return PixelFormat::S8_UINT_D24_UNORM;+ case Hash(TextureFormat::S8D24, UINT, UNORM, UINT, UINT, LINEAR):+ return PixelFormat::S8_UINT_D24_UNORM;case Hash(TextureFormat::R8G24, UINT, UNORM, UNORM, UNORM, LINEAR):return PixelFormat::S8_UINT_D24_UNORM;case Hash(TextureFormat::D32S8, FLOAT, UINT, UNORM, UNORM, LINEAR):