Skip to content

Commit

Permalink
Simplify NFP device removal logic
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacobwasbeast committed Dec 3, 2024
1 parent a07322b commit 454c87f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Ryujinx.HLE/HOS/Applets/Cabinet/CabinetApplet.cs
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,7 @@ public ResultCode Start(AppletSession normalSession, AppletSession interactiveSe

public ResultCode GetResult()
{
var amiibo = _system.Device.System.NfpDevices[0];
_system.Device.System.NfpDevices.Remove(amiibo);
_system.Device.System.NfpDevices.RemoveAt(0);
return ResultCode.Success;
}

Expand Down

0 comments on commit 454c87f

Please sign in to comment.