summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-10-13 15:16:27 +0200
committerLioncash <mathew1800@gmail.com>2018-10-13 15:17:02 +0200
commitbc2196bb090e14a71f47bb6a41a35529116dcf66 (patch)
tree838a09f8b81b3f5ad56090b90f41d7029a930d8b /src
parentkey_manager/partition_data_manager: Silence truncation compiler warnings (diff)
downloadyuzu-bc2196bb090e14a71f47bb6a41a35529116dcf66.tar
yuzu-bc2196bb090e14a71f47bb6a41a35529116dcf66.tar.gz
yuzu-bc2196bb090e14a71f47bb6a41a35529116dcf66.tar.bz2
yuzu-bc2196bb090e14a71f47bb6a41a35529116dcf66.tar.lz
yuzu-bc2196bb090e14a71f47bb6a41a35529116dcf66.tar.xz
yuzu-bc2196bb090e14a71f47bb6a41a35529116dcf66.tar.zst
yuzu-bc2196bb090e14a71f47bb6a41a35529116dcf66.zip
Diffstat (limited to 'src')
-rw-r--r--src/core/crypto/partition_data_manager.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/core/crypto/partition_data_manager.cpp b/src/core/crypto/partition_data_manager.cpp
index 51d89508b..056119c04 100644
--- a/src/core/crypto/partition_data_manager.cpp
+++ b/src/core/crypto/partition_data_manager.cpp
@@ -480,8 +480,6 @@ void PartitionDataManager::DecryptPackage2(std::array<std::array<u8, 16>, 0x20>
cipher.SetIV(s1_iv);
cipher.Transcode(c.data(), c.size(), c.data(), Op::Decrypt);
- // package2_decrypted[static_cast<size_t>(type)] = s1;
-
INIHeader ini;
std::memcpy(&ini, c.data(), sizeof(INIHeader));
if (ini.magic != Common::MakeMagic('I', 'N', 'I', '1'))