summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlat9nq <22451773+lat9nq@users.noreply.github.com>2023-06-04 02:53:25 +0200
committerlat9nq <22451773+lat9nq@users.noreply.github.com>2023-06-05 21:15:23 +0200
commit78a47f1ee8458abbf94504344d8b46f4b13ccada (patch)
treecff0f340110699eb749dc73460a4e94ebfb4fab5
parenttz_manager: Fix character offset not advancing (diff)
downloadyuzu-78a47f1ee8458abbf94504344d8b46f4b13ccada.tar
yuzu-78a47f1ee8458abbf94504344d8b46f4b13ccada.tar.gz
yuzu-78a47f1ee8458abbf94504344d8b46f4b13ccada.tar.bz2
yuzu-78a47f1ee8458abbf94504344d8b46f4b13ccada.tar.lz
yuzu-78a47f1ee8458abbf94504344d8b46f4b13ccada.tar.xz
yuzu-78a47f1ee8458abbf94504344d8b46f4b13ccada.tar.zst
yuzu-78a47f1ee8458abbf94504344d8b46f4b13ccada.zip
Diffstat (limited to '')
-rw-r--r--src/core/hle/service/time/time_zone_manager.cpp7
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;