Browse Source

tz_manager: Warn on unimplemented code

nce_cpp
lat9nq 3 years ago
parent
commit
021df7a2e1
  1. 7
      src/core/hle/service/time/time_zone_manager.cpp

7
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; 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].gmt_offset = -std_offset;
rule.ttis[0].is_dst = false; rule.ttis[0].is_dst = false;
rule.ttis[0].abbreviation_list_index = 0; rule.ttis[0].abbreviation_list_index = 0;

Loading…
Cancel
Save