summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar lat9nq2023-06-03 20:53:25 -0400
committerGravatar lat9nq2023-06-05 15:15:23 -0400
commit78a47f1ee8458abbf94504344d8b46f4b13ccada (patch)
treecff0f340110699eb749dc73460a4e94ebfb4fab5
parenttz_manager: Fix character offset not advancing (diff)
downloadyuzu-78a47f1ee8458abbf94504344d8b46f4b13ccada.tar.gz
yuzu-78a47f1ee8458abbf94504344d8b46f4b13ccada.tar.xz
yuzu-78a47f1ee8458abbf94504344d8b46f4b13ccada.zip
tz_manager: Warn on unimplemented code
-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) {
474 their_std_offset = their_offset; 474 their_std_offset = their_offset;
475 } 475 }
476 } 476 }
477
478 if (rule.time_count > 0) {
479 UNIMPLEMENTED();
480 // TODO (lat9nq): Implement eggert/tz/localtime.c:tzparse:1329
481 // Seems to be unused in yuzu for now: I never hit the UNIMPLEMENTED in testing
482 }
483
477 rule.ttis[0].gmt_offset = -std_offset; 484 rule.ttis[0].gmt_offset = -std_offset;
478 rule.ttis[0].is_dst = false; 485 rule.ttis[0].is_dst = false;
479 rule.ttis[0].abbreviation_list_index = 0; 486 rule.ttis[0].abbreviation_list_index = 0;