summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/ldr
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-11-12 14:37:58 +0100
committerLioncash <mathew1800@gmail.com>2019-11-12 14:45:56 +0100
commite0c46e6879be4720a89429a3151b84103456e4b6 (patch)
treed287cceff5445e19b5c68ed4141b0bef5d61ef83 /src/core/hle/service/ldr
parentMerge pull request #3085 from bunnei/web-token-b64 (diff)
downloadyuzu-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/hle/service/ldr')
-rw-r--r--src/core/hle/service/ldr/ldr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/service/ldr/ldr.cpp b/src/core/hle/service/ldr/ldr.cpp
index 499376bfc..88f903bfd 100644
--- a/src/core/hle/service/ldr/ldr.cpp
+++ b/src/core/hle/service/ldr/ldr.cpp
@@ -294,7 +294,7 @@ public:
Memory::ReadBlock(nro_address, nro_data.data(), nro_size);
SHA256Hash hash{};
- mbedtls_sha256(nro_data.data(), nro_data.size(), hash.data(), 0);
+ mbedtls_sha256_ret(nro_data.data(), nro_data.size(), hash.data(), 0);
// NRO Hash is already loaded
if (std::any_of(nro.begin(), nro.end(), [&hash](const std::pair<VAddr, NROInfo>& info) {