From c54a14d0b8d445d9d0074861dca816cc801e4008 Mon Sep 17 00:00:00 2001 From: C1fer <41005657+C1fer@users.noreply.github.com> Date: Thu, 7 Oct 2021 17:41:02 -0400 Subject: [PATCH] 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 Co-authored-by: gdkchan --- Ryujinx.Graphics.Vic/Image/SurfaceWriter.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Ryujinx.Graphics.Vic/Image/SurfaceWriter.cs b/Ryujinx.Graphics.Vic/Image/SurfaceWriter.cs index aaf03a3ef..dd64720e9 100644 --- a/Ryujinx.Graphics.Vic/Image/SurfaceWriter.cs +++ b/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: