summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2020-03-18 23:05:23 +0100
committerReinUsesLisp <reinuseslisp@airmail.cc>2020-03-18 23:06:16 +0100
commitac7ee21331c903ab24856850a5003c4f79ae5d42 (patch)
tree6f7b3dfcfb9d43234847e6ccef603734f4f60b0b
parentMerge pull request #3530 from ReinUsesLisp/fix-clang (diff)
downloadyuzu-ac7ee21331c903ab24856850a5003c4f79ae5d42.tar
yuzu-ac7ee21331c903ab24856850a5003c4f79ae5d42.tar.gz
yuzu-ac7ee21331c903ab24856850a5003c4f79ae5d42.tar.bz2
yuzu-ac7ee21331c903ab24856850a5003c4f79ae5d42.tar.lz
yuzu-ac7ee21331c903ab24856850a5003c4f79ae5d42.tar.xz
yuzu-ac7ee21331c903ab24856850a5003c4f79ae5d42.tar.zst
yuzu-ac7ee21331c903ab24856850a5003c4f79ae5d42.zip
-rw-r--r--src/core/hle/service/time/time_zone_content_manager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/service/time/time_zone_content_manager.cpp b/src/core/hle/service/time/time_zone_content_manager.cpp
index 57b1a2bca..78d4acd95 100644
--- a/src/core/hle/service/time/time_zone_content_manager.cpp
+++ b/src/core/hle/service/time/time_zone_content_manager.cpp
@@ -53,7 +53,7 @@ static std::vector<std::string> BuildLocationNameCache(Core::System& system) {
return {};
}
- std::vector<char> raw_data(binary_list->GetSize());
+ std::vector<char> raw_data(binary_list->GetSize() + 1);
binary_list->ReadBytes<char>(raw_data.data(), binary_list->GetSize());
std::stringstream data_stream{raw_data.data()};