summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorlat9nq <22451773+lat9nq@users.noreply.github.com>2023-06-04 04:18:52 +0200
committerlat9nq <22451773+lat9nq@users.noreply.github.com>2023-06-05 21:15:23 +0200
commit8f9afbcd91444c5e0653da458e44de37388c6d79 (patch)
tree23d0e0edcb98672ea4ee04fcb1432ebb98fe253e /src/core
parenttz_manager: Implement missing transition times (diff)
downloadyuzu-8f9afbcd91444c5e0653da458e44de37388c6d79.tar
yuzu-8f9afbcd91444c5e0653da458e44de37388c6d79.tar.gz
yuzu-8f9afbcd91444c5e0653da458e44de37388c6d79.tar.bz2
yuzu-8f9afbcd91444c5e0653da458e44de37388c6d79.tar.lz
yuzu-8f9afbcd91444c5e0653da458e44de37388c6d79.tar.xz
yuzu-8f9afbcd91444c5e0653da458e44de37388c6d79.tar.zst
yuzu-8f9afbcd91444c5e0653da458e44de37388c6d79.zip
Diffstat (limited to 'src/core')
-rw-r--r--src/core/hle/service/time/time_zone_manager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/service/time/time_zone_manager.cpp b/src/core/hle/service/time/time_zone_manager.cpp
index 24a9aa55d..e1728c06d 100644
--- a/src/core/hle/service/time/time_zone_manager.cpp
+++ b/src/core/hle/service/time/time_zone_manager.cpp
@@ -557,7 +557,7 @@ static bool ParseTimeZoneBinary(TimeZoneRule& time_zone_rule, FileSys::VirtualFi
for (int index{}; index < time_zone_rule.time_count; ++index) {
const u8 type{*vfs_file->ReadByte(read_offset)};
read_offset += sizeof(u8);
- if (time_zone_rule.time_count <= type) {
+ if (time_zone_rule.type_count <= type) {
return {};
}
if (time_zone_rule.types[index] != 0) {