diff options
| author | C1fer <41005657+C1fer@users.noreply.github.com> | 2021-10-07 17:41:02 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-10-07 18:41:02 -0300 |
| commit | c54a14d0b8d445d9d0074861dca816cc801e4008 (patch) | |
| tree | 5d3a6e2e6a12d64bacb5e2319e440839a0348623 | |
| parent | 468774578dfd10342b35ebb66779c1521a91617c (diff) | |
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>
| -rw-r--r-- | Ryujinx.Graphics.Vic/Image/SurfaceWriter.cs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Ryujinx.Graphics.Vic/Image/SurfaceWriter.cs b/Ryujinx.Graphics.Vic/Image/SurfaceWriter.cs index aaf03a3e..dd64720e 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: |
