Explorar o código

tz_manager: Warn on unimplemented code

lat9nq %!s(int64=3) %!d(string=hai) anos
pai
achega
78a47f1ee8
Modificáronse 1 ficheiros con 7 adicións e 0 borrados
  1. 7 0
      src/core/hle/service/time/time_zone_manager.cpp

+ 7 - 0
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;