소스 검색

Added support for Pixel Format X8B8G8R8 (#2716)

* Added support for Pixel Format X8B8G8R8        

Fixes cutscenes on Metroid Dread.

* Removed unnecessary case execution.

* Update Ryujinx.Graphics.Vic/Image/SurfaceWriter.cs

Co-authored-by: gdkchan <gab.dark.100@gmail.com>

Co-authored-by: gdkchan <gab.dark.100@gmail.com>
C1fer 4 년 전
부모
커밋
c54a14d0b8
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      Ryujinx.Graphics.Vic/Image/SurfaceWriter.cs

+ 1 - 0
Ryujinx.Graphics.Vic/Image/SurfaceWriter.cs

@@ -15,6 +15,7 @@ namespace Ryujinx.Graphics.Vic.Image
             switch (config.OutPixelFormat)
             {
                 case PixelFormat.A8B8G8R8:
+                case PixelFormat.X8B8G8R8:    
                     WriteA8B8G8R8(rm, input, ref config, ref offsets);
                     break;
                 case PixelFormat.A8R8G8B8: