summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/time
diff options
context:
space:
mode:
authorlat9nq <22451773+lat9nq@users.noreply.github.com>2023-06-04 04:35:19 +0200
committerlat9nq <22451773+lat9nq@users.noreply.github.com>2023-06-05 21:15:23 +0200
commitdea61f5d00d0281ba66321564bdcc55e14925af4 (patch)
treef6ec913204a3dcd37c25a5d789f29143e432def1 /src/core/hle/service/time
parenttz_manager: Fix off-by-one error (diff)
downloadyuzu-dea61f5d00d0281ba66321564bdcc55e14925af4.tar
yuzu-dea61f5d00d0281ba66321564bdcc55e14925af4.tar.gz
yuzu-dea61f5d00d0281ba66321564bdcc55e14925af4.tar.bz2
yuzu-dea61f5d00d0281ba66321564bdcc55e14925af4.tar.lz
yuzu-dea61f5d00d0281ba66321564bdcc55e14925af4.tar.xz
yuzu-dea61f5d00d0281ba66321564bdcc55e14925af4.tar.zst
yuzu-dea61f5d00d0281ba66321564bdcc55e14925af4.zip
Diffstat (limited to 'src/core/hle/service/time')
-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
if (value > max) {
return {};
}
+ offset++;
temp = name[offset];
} while (IsDigit(temp));