Эх сурвалжийг харах

tz_manager: Fix character offset not advancing

lat9nq 3 жил өмнө
parent
commit
dea61f5d00

+ 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) {
         if (value > max) {
             return {};
             return {};
         }
         }
+        offset++;
         temp = name[offset];
         temp = name[offset];
     } while (IsDigit(temp));
     } while (IsDigit(temp));