Skip to content

Commit

Permalink
further simplify the firmware ProgramId check
Browse files Browse the repository at this point in the history
  • Loading branch information
WilliamWsyHK committed Dec 5, 2024
1 parent 4d6ad93 commit 44fda57
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/Ryujinx.HLE/Loaders/Processes/ProcessResult.cs
Original file line number Diff line number Diff line change
Expand Up @@ -84,11 +84,7 @@ public bool Start(Switch device)
return false;
}

bool isFirmware = ProgramId switch
{
>= 0x0100000000000819 and <= 0x010000000000081C => true,
_ => false
};
bool isFirmware = ProgramId is >= 0x0100000000000819 and <= 0x010000000000081C;
bool isMiiEdit = ProgramId == 0x0100000000001009;

string name = !isFirmware
Expand Down

0 comments on commit 44fda57

Please sign in to comment.