3
0
Fork 0
forked from suyu/suyu

partition_data_manager: Remove commented out code

Commented out code shouldn't be left in without a reason indicating why
in a comment.
This commit is contained in:
Lioncash 2018-10-13 09:16:27 -04:00
parent 6da2ed4232
commit bc2196bb09

View file

@ -480,8 +480,6 @@ void PartitionDataManager::DecryptPackage2(std::array<std::array<u8, 16>, 0x20>
cipher.SetIV(s1_iv); cipher.SetIV(s1_iv);
cipher.Transcode(c.data(), c.size(), c.data(), Op::Decrypt); cipher.Transcode(c.data(), c.size(), c.data(), Op::Decrypt);
// package2_decrypted[static_cast<size_t>(type)] = s1;
INIHeader ini; INIHeader ini;
std::memcpy(&ini, c.data(), sizeof(INIHeader)); std::memcpy(&ini, c.data(), sizeof(INIHeader));
if (ini.magic != Common::MakeMagic('I', 'N', 'I', '1')) if (ini.magic != Common::MakeMagic('I', 'N', 'I', '1'))