2022-06-24 17:04:57 +00:00
|
|
|
|
using Ryujinx.Common.Memory;
|
|
|
|
|
using System.Runtime.InteropServices;
|
2019-09-19 00:45:11 +00:00
|
|
|
|
|
|
|
|
|
namespace Ryujinx.HLE.HOS.Services.Time.TimeZone
|
|
|
|
|
{
|
2022-06-24 17:04:57 +00:00
|
|
|
|
[StructLayout(LayoutKind.Sequential, Size = Size, Pack = 4)]
|
2022-06-24 19:11:56 +00:00
|
|
|
|
public struct TimeTypeInfo
|
2019-09-19 00:45:11 +00:00
|
|
|
|
{
|
2022-06-24 17:04:57 +00:00
|
|
|
|
public const int Size = 0x10;
|
|
|
|
|
|
2019-09-19 00:45:11 +00:00
|
|
|
|
public int GmtOffset;
|
|
|
|
|
|
|
|
|
|
[MarshalAs(UnmanagedType.I1)]
|
|
|
|
|
public bool IsDaySavingTime;
|
|
|
|
|
|
2022-06-24 17:04:57 +00:00
|
|
|
|
public Array3<byte> Padding1;
|
2019-09-19 00:45:11 +00:00
|
|
|
|
|
|
|
|
|
public int AbbreviationListIndex;
|
|
|
|
|
|
|
|
|
|
[MarshalAs(UnmanagedType.I1)]
|
|
|
|
|
public bool IsStandardTimeDaylight;
|
|
|
|
|
|
|
|
|
|
[MarshalAs(UnmanagedType.I1)]
|
|
|
|
|
public bool IsGMT;
|
|
|
|
|
|
2022-06-24 17:04:57 +00:00
|
|
|
|
public ushort Padding2;
|
2019-09-19 00:45:11 +00:00
|
|
|
|
}
|
|
|
|
|
}
|