diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/core/hle/service/time/time_zone_manager.cpp | 2 |
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 | |||
| 557 | for (int index{}; index < time_zone_rule.time_count; ++index) { | 557 | for (int index{}; index < time_zone_rule.time_count; ++index) { |
| 558 | const u8 type{*vfs_file->ReadByte(read_offset)}; | 558 | const u8 type{*vfs_file->ReadByte(read_offset)}; |
| 559 | read_offset += sizeof(u8); | 559 | read_offset += sizeof(u8); |
| 560 | if (time_zone_rule.time_count <= type) { | 560 | if (time_zone_rule.type_count <= type) { |
| 561 | return {}; | 561 | return {}; |
| 562 | } | 562 | } |
| 563 | if (time_zone_rule.types[index] != 0) { | 563 | if (time_zone_rule.types[index] != 0) { |