mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-08-21 09:48:45 +00:00
Update src/core/file_format/pkg.cpp
Co-authored-by: GPUCode <47210458+GPUCode@users.noreply.github.com>
This commit is contained in:
parent
a4f4e2fc66
commit
9fef4fc050
1 changed files with 1 additions and 1 deletions
|
@ -128,7 +128,7 @@ bool PKG::Extract(const std::string& filepath, const std::filesystem::path& extr
|
||||||
// file.Seek(entry.offset, fsSeekSet);
|
// file.Seek(entry.offset, fsSeekSet);
|
||||||
} else if (entry.id == 0x10) { // ENTRY_KEYS, seek;
|
} else if (entry.id == 0x10) { // ENTRY_KEYS, seek;
|
||||||
file.Seek(entry.offset);
|
file.Seek(entry.offset);
|
||||||
file.ReadRaw<u8>(seed_digest.data(), seed_digest.size());
|
file.Read(seed_digest);
|
||||||
|
|
||||||
for (int i = 0; i < 7; i++) {
|
for (int i = 0; i < 7; i++) {
|
||||||
file.ReadRaw<u8>(digest1[i].data(), digest1[i].size());
|
file.ReadRaw<u8>(digest1[i].data(), digest1[i].size());
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue