소스 검색

tz_manager: Fix character offset not advancing

lat9nq 3 년 전
부모
커밋
dea61f5d00
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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));