mirror of
https://git.ryujinx.app/projects/Kenji-NX.git
synced 2026-10-09 15:28:56 +02:00
misc: chore: Use explicit types & fix object creation
This commit is contained in:
@@ -292,9 +292,9 @@ namespace Ryujinx.Headless
|
||||
if (!string.IsNullOrEmpty(options.PreferredGPUVendor))
|
||||
{
|
||||
string preferredGpuVendor = options.PreferredGPUVendor.ToLowerInvariant();
|
||||
var devices = VulkanRenderer.GetPhysicalDevices(api);
|
||||
DeviceInfo[] devices = VulkanRenderer.GetPhysicalDevices(api);
|
||||
|
||||
foreach (var device in devices)
|
||||
foreach (DeviceInfo device in devices)
|
||||
{
|
||||
if (device.Vendor.ToLowerInvariant() == preferredGpuVendor)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user