diff options
| author | 2024-01-29 09:08:46 -0500 | |
|---|---|---|
| committer | 2024-01-29 09:08:46 -0500 | |
| commit | 90cb8529086cddd4487056e5f068552bf6126e64 (patch) | |
| tree | 2078c8cacf00442ed867a7d7a6cf19bd6d0ae3d2 /externals | |
| parent | Merge pull request #12439 from FireBurn/vkresult (diff) | |
| parent | Move time services to new IPC. (diff) | |
| download | yuzu-90cb8529086cddd4487056e5f068552bf6126e64.tar.gz yuzu-90cb8529086cddd4487056e5f068552bf6126e64.tar.xz yuzu-90cb8529086cddd4487056e5f068552bf6126e64.zip | |
Merge pull request #12814 from Kelebek1/time_new_ipc
Move time services to new IPC and add debug printing
Diffstat (limited to 'externals')
| -rw-r--r-- | externals/tz/tz/tz.cpp | 4 | ||||
| -rw-r--r-- | externals/tz/tz/tz.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/externals/tz/tz/tz.cpp b/externals/tz/tz/tz.cpp index 0c8b68217..04fa6cc8a 100644 --- a/externals/tz/tz/tz.cpp +++ b/externals/tz/tz/tz.cpp | |||
| @@ -1625,11 +1625,11 @@ s32 ParseTimeZoneBinary(Rule& out_rule, std::span<const u8> binary) { | |||
| 1625 | return 0; | 1625 | return 0; |
| 1626 | } | 1626 | } |
| 1627 | 1627 | ||
| 1628 | bool localtime_rz(CalendarTimeInternal* tmp, Rule* sp, time_t* timep) { | 1628 | bool localtime_rz(CalendarTimeInternal* tmp, Rule const* sp, time_t* timep) { |
| 1629 | return localsub(sp, timep, 0, tmp) == nullptr; | 1629 | return localsub(sp, timep, 0, tmp) == nullptr; |
| 1630 | } | 1630 | } |
| 1631 | 1631 | ||
| 1632 | u32 mktime_tzname(time_t* out_time, Rule* sp, CalendarTimeInternal* tmp) { | 1632 | u32 mktime_tzname(time_t* out_time, Rule const* sp, CalendarTimeInternal* tmp) { |
| 1633 | return time1(out_time, tmp, localsub, sp, 0); | 1633 | return time1(out_time, tmp, localsub, sp, 0); |
| 1634 | } | 1634 | } |
| 1635 | 1635 | ||
diff --git a/externals/tz/tz/tz.h b/externals/tz/tz/tz.h index 38605cfb1..dae4459bc 100644 --- a/externals/tz/tz/tz.h +++ b/externals/tz/tz/tz.h | |||
| @@ -75,7 +75,7 @@ static_assert(sizeof(CalendarTimeInternal) == 0x3C, "CalendarTimeInternal has th | |||
| 75 | 75 | ||
| 76 | s32 ParseTimeZoneBinary(Rule& out_rule, std::span<const u8> binary); | 76 | s32 ParseTimeZoneBinary(Rule& out_rule, std::span<const u8> binary); |
| 77 | 77 | ||
| 78 | bool localtime_rz(CalendarTimeInternal* tmp, Rule* sp, time_t* timep); | 78 | bool localtime_rz(CalendarTimeInternal* tmp, Rule const* sp, time_t* timep); |
| 79 | u32 mktime_tzname(time_t* out_time, Rule* sp, CalendarTimeInternal* tmp); | 79 | u32 mktime_tzname(time_t* out_time, Rule const* sp, CalendarTimeInternal* tmp); |
| 80 | 80 | ||
| 81 | } // namespace Tz | 81 | } // namespace Tz |