Compare commits

..

1 commit

Author SHA1 Message Date
SomeoneIsWorking
2b7634c76b Merge branch 'input-cycle' into 'master'
Input cycling and overlay system

See merge request [ryubing/ryujinx!72](https://git.ryujinx.app/ryubing/ryujinx/-/merge_requests/72)
2025-06-20 23:47:08 -05:00
2 changed files with 10 additions and 4 deletions

View file

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

View file

@ -1,4 +1,3 @@
using Ryujinx.Common.Logging;
using Ryujinx.Common.Memory;
using Ryujinx.Graphics.GAL;
using Ryujinx.Graphics.Gpu.Image;
@ -332,7 +331,7 @@ namespace Ryujinx.Graphics.Gpu
catch (Exception ex)
{
// Silently fail if overlay rendering doesn't work
Logger.Error?.Print(LogClass.Gpu, $"Overlay rendering failed: {ex.Message}");
System.Diagnostics.Debug.WriteLine($"Overlay rendering failed: {ex.Message}");
}
}
@ -360,6 +359,14 @@ namespace Ryujinx.Graphics.Gpu
return false;
}
/// <summary>
/// Get the overlay manager for external access
/// </summary>
public OverlayManager GetOverlayManager()
{
return _overlayManager;
}
/// <summary>
/// Dispose resources
/// </summary>