mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-06-28 06:46:24 +02:00
Compare commits
3 commits
2b7634c76b
...
0fe43da112
Author | SHA1 | Date | |
---|---|---|---|
![]() |
0fe43da112 | ||
![]() |
e9e06a6800 | ||
![]() |
abb22a8a47 |
2 changed files with 4 additions and 10 deletions
|
@ -1,3 +1,4 @@
|
||||||
|
using Ryujinx.Common.Logging;
|
||||||
using SkiaSharp;
|
using SkiaSharp;
|
||||||
using System;
|
using System;
|
||||||
|
|
||||||
|
@ -86,7 +87,7 @@ namespace Ryujinx.Graphics.Gpu.Overlay
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
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;
|
_bitmap = null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
using Ryujinx.Common.Logging;
|
||||||
using Ryujinx.Common.Memory;
|
using Ryujinx.Common.Memory;
|
||||||
using Ryujinx.Graphics.GAL;
|
using Ryujinx.Graphics.GAL;
|
||||||
using Ryujinx.Graphics.Gpu.Image;
|
using Ryujinx.Graphics.Gpu.Image;
|
||||||
|
@ -331,7 +332,7 @@ namespace Ryujinx.Graphics.Gpu
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
// Silently fail if overlay rendering doesn't work
|
// Silently fail if overlay rendering doesn't work
|
||||||
System.Diagnostics.Debug.WriteLine($"Overlay rendering failed: {ex.Message}");
|
Logger.Error?.Print(LogClass.Gpu, $"Overlay rendering failed: {ex.Message}");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -359,14 +360,6 @@ namespace Ryujinx.Graphics.Gpu
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// Get the overlay manager for external access
|
|
||||||
/// </summary>
|
|
||||||
public OverlayManager GetOverlayManager()
|
|
||||||
{
|
|
||||||
return _overlayManager;
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Dispose resources
|
/// Dispose resources
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue