mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-06-28 06:46:24 +02:00
misc: fix duplicated code (oops), reorder the commands in-code to match the UI
This commit is contained in:
parent
960421a7c1
commit
81412c7dd5
3 changed files with 236 additions and 583 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue