diff options
author | lat9nq <22451773+lat9nq@users.noreply.github.com> | 2023-06-03 20:53:25 -0400 |
---|---|---|
committer | lat9nq <22451773+lat9nq@users.noreply.github.com> | 2023-06-05 15:15:23 -0400 |
commit | 78a47f1ee8458abbf94504344d8b46f4b13ccada (patch) | |
tree | cff0f340110699eb749dc73460a4e94ebfb4fab5 | |
parent | dea61f5d00d0281ba66321564bdcc55e14925af4 (diff) |
tz_manager: Warn on unimplemented code
-rw-r--r-- | src/core/hle/service/time/time_zone_manager.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/core/hle/service/time/time_zone_manager.cpp b/src/core/hle/service/time/time_zone_manager.cpp index de5c3b407..54c9ecf40 100644 --- a/src/core/hle/service/time/time_zone_manager.cpp +++ b/src/core/hle/service/time/time_zone_manager.cpp @@ -474,6 +474,13 @@ static bool ParsePosixName(const char* name, TimeZoneRule& rule) { their_std_offset = their_offset; } } + + if (rule.time_count > 0) { + UNIMPLEMENTED(); + // TODO (lat9nq): Implement eggert/tz/localtime.c:tzparse:1329 + // Seems to be unused in yuzu for now: I never hit the UNIMPLEMENTED in testing + } + rule.ttis[0].gmt_offset = -std_offset; rule.ttis[0].is_dst = false; rule.ttis[0].abbreviation_list_index = 0; |