mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-11-27 03:12:02 +00:00
Fix some issues with UserId (#455)
This commit is contained in:
parent
3561062bc6
commit
ac1a379265
2 changed files with 3 additions and 18 deletions
|
@ -77,8 +77,8 @@ namespace Ryujinx.HLE.HOS.Services.Acc
|
|||
break;
|
||||
}
|
||||
|
||||
Context.Memory.WriteInt64(OutputPosition, Profile.Uuid.High);
|
||||
Context.Memory.WriteInt64(OutputPosition + 8, Profile.Uuid.Low);
|
||||
Context.Memory.WriteInt64(OutputPosition, Profile.Uuid.Low);
|
||||
Context.Memory.WriteInt64(OutputPosition + 8, Profile.Uuid.High);
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
|
|
@ -14,21 +14,6 @@ namespace Ryujinx.HLE.Utilities
|
|||
{
|
||||
this.Low = Low;
|
||||
this.High = High;
|
||||
|
||||
byte[] Bytes = new byte[16];
|
||||
|
||||
int Index = Bytes.Length;
|
||||
|
||||
void WriteBytes(long Value)
|
||||
{
|
||||
for (int Byte = 0; Byte < 8; Byte++)
|
||||
{
|
||||
Bytes[--Index] = (byte)(Value >> Byte * 8);
|
||||
}
|
||||
}
|
||||
|
||||
WriteBytes(Low);
|
||||
WriteBytes(High);
|
||||
}
|
||||
|
||||
public UInt128(string UInt128Hex)
|
||||
|
|
Loading…
Reference in a new issue