misc: fix duplicated code (oops), reorder the commands in-code to match the UI

This commit is contained in:
GreemDev 2025-05-29 02:09:21 -05:00
parent 960421a7c1
commit 81412c7dd5
3 changed files with 236 additions and 583 deletions

View file

@ -51,14 +51,8 @@ namespace Ryujinx.HLE.HOS.Services.Account.Acc
return High.ToString("x16") + Low.ToString("x16");
}
public Uid ToLibHacUid()
{
return new Uid((ulong)High, (ulong)Low);
}
public UInt128 ToUInt128()
{
return new UInt128((ulong)High, (ulong)Low);
}
public Uid ToLibHacUid() => new((ulong)High, (ulong)Low);
public LibHac.Fs.UserId ToLibHac() => new((ulong)High, (ulong)Low);
public UInt128 ToUInt128() => new((ulong)High, (ulong)Low);
}
}