fix alignment
This commit is contained in:
parent
58f548c3cf
commit
c2ca00b6ac
1 changed files with 12 additions and 12 deletions
|
@ -198,12 +198,12 @@ namespace Ryujinx.HLE.OsHle.Services.Time
|
||||||
long BufferPosition = Context.Request.SendBuff[0].Position;
|
long BufferPosition = Context.Request.SendBuff[0].Position;
|
||||||
long BufferSize = Context.Request.SendBuff[0].Size;
|
long BufferSize = Context.Request.SendBuff[0].Size;
|
||||||
|
|
||||||
ushort Year = Context.RequestData.ReadUInt16();
|
ushort Year = Context.RequestData.ReadUInt16();
|
||||||
byte Month = Context.RequestData.ReadByte();
|
byte Month = Context.RequestData.ReadByte();
|
||||||
byte Day = Context.RequestData.ReadByte();
|
byte Day = Context.RequestData.ReadByte();
|
||||||
byte Hour = Context.RequestData.ReadByte();
|
byte Hour = Context.RequestData.ReadByte();
|
||||||
byte Minute = Context.RequestData.ReadByte();
|
byte Minute = Context.RequestData.ReadByte();
|
||||||
byte Second = Context.RequestData.ReadByte();
|
byte Second = Context.RequestData.ReadByte();
|
||||||
|
|
||||||
DateTime CalendarTime = new DateTime(Year, Month, Day, Hour, Minute, Second, DateTimeKind.Local);
|
DateTime CalendarTime = new DateTime(Year, Month, Day, Hour, Minute, Second, DateTimeKind.Local);
|
||||||
|
|
||||||
|
@ -236,12 +236,12 @@ namespace Ryujinx.HLE.OsHle.Services.Time
|
||||||
|
|
||||||
public long ToPosixTimeWithMyRule(ServiceCtx Context)
|
public long ToPosixTimeWithMyRule(ServiceCtx Context)
|
||||||
{
|
{
|
||||||
ushort Year = Context.RequestData.ReadUInt16();
|
ushort Year = Context.RequestData.ReadUInt16();
|
||||||
byte Month = Context.RequestData.ReadByte();
|
byte Month = Context.RequestData.ReadByte();
|
||||||
byte Day = Context.RequestData.ReadByte();
|
byte Day = Context.RequestData.ReadByte();
|
||||||
byte Hour = Context.RequestData.ReadByte();
|
byte Hour = Context.RequestData.ReadByte();
|
||||||
byte Minute = Context.RequestData.ReadByte();
|
byte Minute = Context.RequestData.ReadByte();
|
||||||
byte Second = Context.RequestData.ReadByte();
|
byte Second = Context.RequestData.ReadByte();
|
||||||
|
|
||||||
DateTime CalendarTime = new DateTime(Year, Month, Day, Hour, Minute, Second, DateTimeKind.Local);
|
DateTime CalendarTime = new DateTime(Year, Month, Day, Hour, Minute, Second, DateTimeKind.Local);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue