misc: chore: Discard unused parameters

This commit is contained in:
KeatonTheBot
2025-09-25 17:04:06 -05:00
parent d773bd60f4
commit 0928851966
42 changed files with 97 additions and 97 deletions
@@ -69,7 +69,7 @@ namespace Ryujinx.HLE.HOS.Services.Account.Acc
UserProfile profile = new(userId, name, image);
_profiles.AddOrUpdate(userId.ToString(), profile, (key, old) => profile);
_profiles.AddOrUpdate(userId.ToString(), profile, (_, _) => profile);
_accountSaveDataManager.Save(_profiles);
}
@@ -32,7 +32,7 @@ namespace Ryujinx.HLE.HOS.Services.Account.Acc
{
UserProfile addedProfile = new(new UserId(profile.UserId), profile.Name, profile.Image, profile.LastModifiedTimestamp);
profiles.AddOrUpdate(profile.UserId, addedProfile, (key, old) => addedProfile);
profiles.AddOrUpdate(profile.UserId, addedProfile, (_, _) => addedProfile);
}
LastOpened = new UserId(profilesJson.LastOpened);
@@ -153,7 +153,7 @@ namespace Ryujinx.HLE.HOS.Services.Ldn.UserServiceCreator.LdnRyu.Proxy
if (_publicPort != 0)
{
_ = Task.Delay(PortLeaseRenew * 1000, _disposedCancellation.Token).ContinueWith((task) => Task.Run(RefreshLease));
_ = Task.Delay(PortLeaseRenew * 1000, _disposedCancellation.Token).ContinueWith((_) => Task.Run(RefreshLease));
}
_natDevice = device;
@@ -257,7 +257,7 @@ namespace Ryujinx.HLE.HOS.Services.Ldn.UserServiceCreator.LdnRyu.Proxy
}
_ = Task.Delay(PortLeaseRenew, _disposedCancellation.Token).ContinueWith((task) => Task.Run(RefreshLease));
_ = Task.Delay(PortLeaseRenew, _disposedCancellation.Token).ContinueWith((_) => Task.Run(RefreshLease));
}
public bool TryRegisterUser(P2pProxySession session, ExternalProxyConfig config)
@@ -367,7 +367,7 @@ namespace Ryujinx.HLE.HOS.Services.Ldn.UserServiceCreator.LdnRyu.Proxy
Task delete = _natDevice?.DeletePortMapAsync(new Mapping(Protocol.Tcp, PrivatePort, _publicPort, 60, "Ryujinx Local Multiplayer"));
// Just absorb any exceptions.
delete?.ContinueWith((task) => { });
delete?.ContinueWith((_) => { });
}
catch (Exception)
{
@@ -474,7 +474,7 @@ namespace Ryujinx.HLE.HOS.Services.SurfaceFlinger
}
else
{
item.Fence.RegisterCallback(_device.Gpu, (x) =>
item.Fence.RegisterCallback(_device.Gpu, (_) =>
{
_device.Gpu.Window.SignalFrameReady();
_device.Gpu.GPFifo.Interrupt();