From 3cb996bf5c56b53eff6c4c43b2d5a8492863c90b Mon Sep 17 00:00:00 2001 From: Evan Husted Date: Tue, 24 Dec 2024 01:15:23 -0600 Subject: [PATCH] UI: Log backend used when Auto is selected --- src/Ryujinx/UI/Renderer/RendererHost.axaml.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/Ryujinx/UI/Renderer/RendererHost.axaml.cs b/src/Ryujinx/UI/Renderer/RendererHost.axaml.cs index d191a11ed..072c0ba4d 100644 --- a/src/Ryujinx/UI/Renderer/RendererHost.axaml.cs +++ b/src/Ryujinx/UI/Renderer/RendererHost.axaml.cs @@ -2,6 +2,7 @@ using Avalonia; using Avalonia.Controls; using Gommon; using Ryujinx.Common.Configuration; +using Ryujinx.Common.Logging; using Ryujinx.UI.Common.Configuration; using System; using System.Runtime.InteropServices; @@ -61,6 +62,11 @@ namespace Ryujinx.Ava.UI.Renderer KnownGreatMetalTitles.ContainsIgnoreCase(titleId) ? new EmbeddedWindowMetal() : new EmbeddedWindowVulkan(); + + string backendText = EmbeddedWindow is EmbeddedWindowVulkan ? "Vulkan" : "Metal"; + + Logger.Info?.Print(LogClass.Gpu, $"Auto: Using {backendText}"); + break; case GraphicsBackend.OpenGl: EmbeddedWindow = new EmbeddedWindowOpenGL();