mirror of
https://github.com/GreemDev/Ryujinx.git
synced 2025-08-30 07:25:05 +00:00
Simplify nickname assignment
This commit is contained in:
parent
d3c0600066
commit
721f304da5
1 changed files with 1 additions and 5 deletions
|
|
@ -67,11 +67,7 @@ namespace Ryujinx.HLE.HOS.Services.Nfc.Nfp
|
|||
public static RegisterInfo GetRegisterInfo(ITickSource tickSource, string amiiboId, string userName)
|
||||
{
|
||||
VirtualAmiiboFile amiiboFile = LoadAmiiboFile(amiiboId);
|
||||
string nickname = "Ryujinx";
|
||||
if (amiiboFile.NickName != null)
|
||||
{
|
||||
nickname = amiiboFile.NickName;
|
||||
}
|
||||
string nickname = amiiboFile.NickName ?? "Ryujinx";
|
||||
UtilityImpl utilityImpl = new(tickSource);
|
||||
CharInfo charInfo = new();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue