mirror of
https://github.com/GreemDev/Ryujinx
synced 2025-01-20 09:42:27 +01:00
Compare commits
8 commits
0f2b728747
...
7d9b80cdd4
Author | SHA1 | Date | |
---|---|---|---|
|
7d9b80cdd4 | ||
|
b05eab21a2 | ||
|
ff667a5c84 | ||
|
8665e6235b | ||
|
a7f0348cde | ||
|
0197e01cbb | ||
|
08335043dd | ||
|
67bb6831df |
2 changed files with 11 additions and 5 deletions
|
@ -7,6 +7,7 @@
|
|||
Title="Ryujinx - Waiting"
|
||||
SizeToContent="WidthAndHeight"
|
||||
WindowStartupLocation="CenterOwner"
|
||||
CanResize="False"
|
||||
mc:Ignorable="d"
|
||||
Focusable="True">
|
||||
<Grid
|
||||
|
|
|
@ -62,11 +62,6 @@ 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();
|
||||
|
@ -78,6 +73,16 @@ namespace Ryujinx.Ava.UI.Renderer
|
|||
EmbeddedWindow = new EmbeddedWindowVulkan();
|
||||
break;
|
||||
}
|
||||
|
||||
string backendText = EmbeddedWindow switch
|
||||
{
|
||||
EmbeddedWindowVulkan => "Vulkan",
|
||||
EmbeddedWindowOpenGL => "OpenGL",
|
||||
EmbeddedWindowMetal => "Metal",
|
||||
_ => throw new NotImplementedException()
|
||||
};
|
||||
|
||||
Logger.Info?.PrintMsg(LogClass.Gpu, $"Backend ({ConfigurationState.Instance.Graphics.GraphicsBackend.Value}): {backendText}");
|
||||
|
||||
Initialize();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue