From 430e363f836d6e572e5c1f16e0fb3143a8922bfe Mon Sep 17 00:00:00 2001 From: john doe Date: Thu, 30 Sep 2021 09:30:52 -0400 Subject: [PATCH] fixed sparse bug --- include/util/config.hpp | 2 +- source/nx/content_meta.cpp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/include/util/config.hpp b/include/util/config.hpp index 8b807c7..cc87a81 100644 --- a/include/util/config.hpp +++ b/include/util/config.hpp @@ -5,7 +5,7 @@ namespace inst::config { static const std::string appDir = "sdmc:/switch/tinleaf"; static const std::string configPath = appDir + "/config.json"; - static const std::string appVersion = "1.4.4"; + static const std::string appVersion = "1.4.5"; extern std::string gAuthKey; extern std::string sigPatchesUrl; diff --git a/source/nx/content_meta.cpp b/source/nx/content_meta.cpp index 175c0e1..37deef6 100644 --- a/source/nx/content_meta.cpp +++ b/source/nx/content_meta.cpp @@ -94,6 +94,7 @@ namespace nx::ncm contentMetaHeader.extended_header_size = packagedContentMetaHeader.extended_header_size; contentMetaHeader.content_count = contentInfos.size() + 1; // Add one for the cnmt content record contentMetaHeader.content_meta_count = packagedContentMetaHeader.content_meta_count; + contentMetaHeader.attributes = packagedContentMetaHeader.attributes; installContentMetaBuffer.Append(contentMetaHeader);