diff options
author | Lioncash <mathew1800@gmail.com> | 2019-11-12 14:37:58 +0100 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2019-11-12 14:45:56 +0100 |
commit | e0c46e6879be4720a89429a3151b84103456e4b6 (patch) | |
tree | d287cceff5445e19b5c68ed4141b0bef5d61ef83 /src/core/file_sys/xts_archive.cpp | |
parent | Merge pull request #3085 from bunnei/web-token-b64 (diff) | |
download | yuzu-e0c46e6879be4720a89429a3151b84103456e4b6.tar yuzu-e0c46e6879be4720a89429a3151b84103456e4b6.tar.gz yuzu-e0c46e6879be4720a89429a3151b84103456e4b6.tar.bz2 yuzu-e0c46e6879be4720a89429a3151b84103456e4b6.tar.lz yuzu-e0c46e6879be4720a89429a3151b84103456e4b6.tar.xz yuzu-e0c46e6879be4720a89429a3151b84103456e4b6.tar.zst yuzu-e0c46e6879be4720a89429a3151b84103456e4b6.zip |
Diffstat (limited to 'src/core/file_sys/xts_archive.cpp')
-rw-r--r-- | src/core/file_sys/xts_archive.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/file_sys/xts_archive.cpp b/src/core/file_sys/xts_archive.cpp index 4bc5cb2ee..944556009 100644 --- a/src/core/file_sys/xts_archive.cpp +++ b/src/core/file_sys/xts_archive.cpp @@ -64,7 +64,7 @@ NAX::NAX(VirtualFile file_) : header(std::make_unique<NAXHeader>()), file(std::m NAX::NAX(VirtualFile file_, std::array<u8, 0x10> nca_id) : header(std::make_unique<NAXHeader>()), file(std::move(file_)) { Core::Crypto::SHA256Hash hash{}; - mbedtls_sha256(nca_id.data(), nca_id.size(), hash.data(), 0); + mbedtls_sha256_ret(nca_id.data(), nca_id.size(), hash.data(), 0); status = Parse(fmt::format("/registered/000000{:02X}/{}.nca", hash[0], Common::HexToString(nca_id, false))); } |