aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics.Vic/Image
diff options
context:
space:
mode:
Diffstat (limited to 'Ryujinx.Graphics.Vic/Image')
-rw-r--r--Ryujinx.Graphics.Vic/Image/SurfaceReader.cs2
-rw-r--r--Ryujinx.Graphics.Vic/Image/SurfaceWriter.cs2
2 files changed, 2 insertions, 2 deletions
diff --git a/Ryujinx.Graphics.Vic/Image/SurfaceReader.cs b/Ryujinx.Graphics.Vic/Image/SurfaceReader.cs
index ab591cd0..aa880916 100644
--- a/Ryujinx.Graphics.Vic/Image/SurfaceReader.cs
+++ b/Ryujinx.Graphics.Vic/Image/SurfaceReader.cs
@@ -19,7 +19,7 @@ namespace Ryujinx.Graphics.Vic.Image
case PixelFormat.Y8___V8U8_N420: return ReadNv12(rm, ref config, ref offsets);
}
- Logger.PrintError(LogClass.Vic, $"Unsupported pixel format \"{config.SlotPixelFormat}\".");
+ Logger.Error?.Print(LogClass.Vic, $"Unsupported pixel format \"{config.SlotPixelFormat}\".");
int lw = config.SlotLumaWidth + 1;
int lh = config.SlotLumaHeight + 1;
diff --git a/Ryujinx.Graphics.Vic/Image/SurfaceWriter.cs b/Ryujinx.Graphics.Vic/Image/SurfaceWriter.cs
index ba9eb2d1..aaf03a3e 100644
--- a/Ryujinx.Graphics.Vic/Image/SurfaceWriter.cs
+++ b/Ryujinx.Graphics.Vic/Image/SurfaceWriter.cs
@@ -24,7 +24,7 @@ namespace Ryujinx.Graphics.Vic.Image
WriteNv12(rm, input, ref config, ref offsets);
break;
default:
- Logger.PrintError(LogClass.Vic, $"Unsupported pixel format \"{config.OutPixelFormat}\".");
+ Logger.Error?.Print(LogClass.Vic, $"Unsupported pixel format \"{config.OutPixelFormat}\".");
break;
}
}