diff options
author | bunnei <bunneidev@gmail.com> | 2021-01-17 09:55:10 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-17 09:55:10 +0100 |
commit | e8401964b4cb617223554e147091f109dc870ba5 (patch) | |
tree | 0e963c000006ca547044bdc628177311fa0dc585 /src/core/hle/service/time/time_zone_types.h | |
parent | Merge pull request #5745 from lioncash/documentation (diff) | |
parent | core/cmake: Enforce Wclass-memaccess (diff) | |
download | yuzu-e8401964b4cb617223554e147091f109dc870ba5.tar yuzu-e8401964b4cb617223554e147091f109dc870ba5.tar.gz yuzu-e8401964b4cb617223554e147091f109dc870ba5.tar.bz2 yuzu-e8401964b4cb617223554e147091f109dc870ba5.tar.lz yuzu-e8401964b4cb617223554e147091f109dc870ba5.tar.xz yuzu-e8401964b4cb617223554e147091f109dc870ba5.tar.zst yuzu-e8401964b4cb617223554e147091f109dc870ba5.zip |
Diffstat (limited to 'src/core/hle/service/time/time_zone_types.h')
-rw-r--r-- | src/core/hle/service/time/time_zone_types.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/core/hle/service/time/time_zone_types.h b/src/core/hle/service/time/time_zone_types.h index 9be15b53e..4a57e036d 100644 --- a/src/core/hle/service/time/time_zone_types.h +++ b/src/core/hle/service/time/time_zone_types.h @@ -45,23 +45,23 @@ static_assert(sizeof(TimeZoneRule) == 0x4000, "TimeZoneRule is incorrect size"); /// https://switchbrew.org/wiki/Glue_services#CalendarAdditionalInfo struct CalendarAdditionalInfo { - u32 day_of_week{}; - u32 day_of_year{}; + u32 day_of_week; + u32 day_of_year; std::array<char, 8> timezone_name; - u32 is_dst{}; - s32 gmt_offset{}; + u32 is_dst; + s32 gmt_offset; }; static_assert(sizeof(CalendarAdditionalInfo) == 0x18, "CalendarAdditionalInfo is incorrect size"); /// https://switchbrew.org/wiki/Glue_services#CalendarTime struct CalendarTime { - s16 year{}; - s8 month{}; - s8 day{}; - s8 hour{}; - s8 minute{}; - s8 second{}; - INSERT_PADDING_BYTES(1); + s16 year; + s8 month; + s8 day; + s8 hour; + s8 minute; + s8 second; + INSERT_PADDING_BYTES_NOINIT(1); }; static_assert(sizeof(CalendarTime) == 0x8, "CalendarTime is incorrect size"); |