Explorar o código

tz_manager: Fix character offset not advancing

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

+ 1 - 0
src/core/hle/service/time/time_zone_manager.cpp

@@ -149,6 +149,7 @@ static constexpr bool GetInteger(const char* name, int& offset, int& value, int
         if (value > max) {
             return {};
         }
+        offset++;
         temp = name[offset];
     } while (IsDigit(temp));