Explorar el Código

tz_manager: Fix character offset not advancing

lat9nq hace 3 años
padre
commit
dea61f5d00
Se han modificado 1 ficheros con 1 adiciones y 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));