Replace System.Diagnostics.Debug.WriteLine with Ryujinx logger

This commit is contained in:
Barış Hamil 2025-06-21 12:59:45 +03:00 committed by GreemDev
parent d4f7dfabf4
commit 030d9f768f
2 changed files with 4 additions and 2 deletions

View file

@ -1,3 +1,4 @@
using Ryujinx.Common.Logging;
using SkiaSharp;
using System;
@ -86,7 +87,7 @@ namespace Ryujinx.Graphics.Gpu.Overlay
}
catch (Exception ex)
{
System.Diagnostics.Debug.WriteLine($"Failed to load image: {ex.Message}");
Logger.Error?.Print(LogClass.Gpu, $"Failed to load image: {ex.Message}");
_bitmap = null;
}
}