mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-06-28 08:56:24 +02:00
parent
417df486b1
commit
361d0c5632
622 changed files with 3080 additions and 2652 deletions
|
@ -52,7 +52,7 @@ namespace Ryujinx.Headless
|
|||
// Logging system information.
|
||||
Program.PrintSystemInfo();
|
||||
}
|
||||
|
||||
|
||||
private static InputConfig HandlePlayerConfiguration(string inputProfileName, string inputId, PlayerIndex index)
|
||||
{
|
||||
if (inputId == null)
|
||||
|
@ -280,7 +280,7 @@ namespace Ryujinx.Headless
|
|||
|
||||
return config;
|
||||
}
|
||||
|
||||
|
||||
private static IRenderer CreateRenderer(Options options, WindowBase window)
|
||||
{
|
||||
if (options.GraphicsBackend == GraphicsBackend.Vulkan && window is VulkanWindow vulkanWindow)
|
||||
|
@ -295,7 +295,7 @@ namespace Ryujinx.Headless
|
|||
|
||||
foreach (DeviceInfo device in devices)
|
||||
{
|
||||
if (device.Vendor.ToLowerInvariant() == preferredGpuVendor)
|
||||
if (device.Vendor.Equals(preferredGpuVendor, StringComparison.OrdinalIgnoreCase))
|
||||
{
|
||||
preferredGpuId = device.Id;
|
||||
break;
|
||||
|
@ -312,7 +312,7 @@ namespace Ryujinx.Headless
|
|||
|
||||
return new OpenGLRenderer();
|
||||
}
|
||||
|
||||
|
||||
private static Switch InitializeEmulationContext(WindowBase window, IRenderer renderer, Options options) =>
|
||||
new(
|
||||
new HleConfiguration(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue