From dea61f5d00d0281ba66321564bdcc55e14925af4 Mon Sep 17 00:00:00 2001 From: lat9nq <22451773+lat9nq@users.noreply.github.com> Date: Sat, 3 Jun 2023 22:35:19 -0400 Subject: tz_manager: Fix character offset not advancing --- src/core/hle/service/time/time_zone_manager.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/core/hle/service/time/time_zone_manager.cpp b/src/core/hle/service/time/time_zone_manager.cpp index 3d293d025..de5c3b407 100644 --- a/src/core/hle/service/time/time_zone_manager.cpp +++ b/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)); -- cgit v1.2.3