diff --git a/src/core/file_format/pkg.cpp b/src/core/file_format/pkg.cpp index b1aaa798..b6040c5a 100644 --- a/src/core/file_format/pkg.cpp +++ b/src/core/file_format/pkg.cpp @@ -135,7 +135,7 @@ bool PKG::Extract(const std::string& filepath, const std::filesystem::path& extr } for (int i = 0; i < 7; i++) { - file.Read(key1); + file.Read(key1[i]); } PKG::crypto.RSA2048Decrypt(dk3_, key1[3], true); // decrypt DK3