Procházet zdrojové kódy

tz_manager: Fix character offset not advancing

lat9nq před 3 roky
rodič
revize
dea61f5d00
1 změnil soubory, kde provedl 1 přidání a 0 odebrání
  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));