summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar lat9nq2023-06-03 22:35:19 -0400
committerGravatar lat9nq2023-06-05 15:15:23 -0400
commitdea61f5d00d0281ba66321564bdcc55e14925af4 (patch)
treef6ec913204a3dcd37c25a5d789f29143e432def1 /src
parenttz_manager: Fix off-by-one error (diff)
downloadyuzu-dea61f5d00d0281ba66321564bdcc55e14925af4.tar.gz
yuzu-dea61f5d00d0281ba66321564bdcc55e14925af4.tar.xz
yuzu-dea61f5d00d0281ba66321564bdcc55e14925af4.zip
tz_manager: Fix character offset not advancing
Diffstat (limited to 'src')
-rw-r--r--src/core/hle/service/time/time_zone_manager.cpp1
1 files changed, 1 insertions, 0 deletions
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
149 if (value > max) { 149 if (value > max) {
150 return {}; 150 return {};
151 } 151 }
152 offset++;
152 temp = name[offset]; 153 temp = name[offset];
153 } while (IsDigit(temp)); 154 } while (IsDigit(temp));
154 155