misc: chore: Discard unused parameters

This commit is contained in:
KeatonTheBot
2025-09-24 13:26:50 -05:00
parent 9c37a557dd
commit 378dc33cca
41 changed files with 96 additions and 96 deletions
+2 -2
View File
@@ -41,7 +41,7 @@ namespace Ryujinx.Headless
Task.Run(Updater.CleanupUpdate);
// Hook unhandled exception and process exit events.
AppDomain.CurrentDomain.UnhandledException += (sender, e)
AppDomain.CurrentDomain.UnhandledException += (_, e)
=> Program.ProcessUnhandledException(e.ExceptionObject as Exception, e.IsTerminating);
AppDomain.CurrentDomain.ProcessExit += (_, _) => Program.Exit();
@@ -307,7 +307,7 @@ namespace Ryujinx.Headless
return new VulkanRenderer(
api,
(instance, vk) => new SurfaceKHR((ulong)(vulkanWindow.CreateWindowSurface(instance.Handle))),
(instance, _) => new SurfaceKHR((ulong)(vulkanWindow.CreateWindowSurface(instance.Handle))),
vulkanWindow.GetRequiredInstanceExtensions,
preferredGpuId);
}
+1 -1
View File
@@ -396,7 +396,7 @@ namespace Ryujinx.Headless
// TODO: This should be removed when the issue with the GateThread is resolved.
ThreadPool.QueueUserWorkItem(state => { });
ThreadPool.QueueUserWorkItem(_ => { });
Thread.Sleep(300);
}
}