summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwwylele <wwylele@gmail.com>2017-03-18 10:45:19 +0100
committerwwylele <wwylele@gmail.com>2017-03-18 10:45:19 +0100
commit0123411468f02810be0ed6cc50fd12427a8de71f (patch)
tree99c0fbcb35428f78d0bd64cf184a25fe920ac806
parentMerge pull request #2497 from wwylele/input-2 (diff)
downloadyuzu-0123411468f02810be0ed6cc50fd12427a8de71f.tar
yuzu-0123411468f02810be0ed6cc50fd12427a8de71f.tar.gz
yuzu-0123411468f02810be0ed6cc50fd12427a8de71f.tar.bz2
yuzu-0123411468f02810be0ed6cc50fd12427a8de71f.tar.lz
yuzu-0123411468f02810be0ed6cc50fd12427a8de71f.tar.xz
yuzu-0123411468f02810be0ed6cc50fd12427a8de71f.tar.zst
yuzu-0123411468f02810be0ed6cc50fd12427a8de71f.zip
-rw-r--r--src/core/hle/service/apt/apt.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/service/apt/apt.cpp b/src/core/hle/service/apt/apt.cpp
index e57b19c2d..1517d3a2f 100644
--- a/src/core/hle/service/apt/apt.cpp
+++ b/src/core/hle/service/apt/apt.cpp
@@ -554,7 +554,7 @@ void Unwrap(Service::Interface* self) {
// Decrypts the ciphertext using AES-CCM
auto pdata = HW::AES::DecryptVerifyCCM(cipher, nonce, HW::AES::KeySlotID::APTWrap);
- IPC::RequestBuilder rb = rp.MakeBuilder(1, 0);
+ IPC::RequestBuilder rb = rp.MakeBuilder(1, 4);
if (!pdata.empty()) {
// Splits the plaintext and put the nonce in between
Memory::WriteBlock(output, pdata.data(), nonce_offset);