forked from ShuriZma/suyu
1
0
Fork 0

Merge branch 'dev' into ddutchie/citest

This commit is contained in:
ddutchie 2024-03-18 16:43:35 -04:00
commit 47ae788afd
1 changed files with 1 additions and 1 deletions

View File

@ -718,7 +718,7 @@ void KeyManager::LoadFromFile(const std::filesystem::path& file_path, int key_ty
continue; continue;
} }
if (is_title_keys) { if (key_type == 3) {
auto rights_id_raw = Common::HexStringToArray<16>(out[0]); auto rights_id_raw = Common::HexStringToArray<16>(out[0]);
u128 rights_id{}; u128 rights_id{};
std::memcpy(rights_id.data(), rights_id_raw.data(), rights_id_raw.size()); std::memcpy(rights_id.data(), rights_id_raw.data(), rights_id_raw.size());