mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-08-08 09:08:40 +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
3f900b41b5
commit
ca45cf6b7f
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ bool PKG::Open(const std::string& filepath) {
|
||||||
pkgSize = file.GetSize();
|
pkgSize = file.GetSize();
|
||||||
|
|
||||||
PKGHeader pkgheader;
|
PKGHeader pkgheader;
|
||||||
file.ReadRaw<u8>(&pkgheader, sizeof(PKGHeader));
|
file.Read(pkgheader);
|
||||||
|
|
||||||
// Find title id it is part of pkg_content_id starting at offset 0x40
|
// Find title id it is part of pkg_content_id starting at offset 0x40
|
||||||
file.Seek(0x47); // skip first 7 characters of content_id
|
file.Seek(0x47); // skip first 7 characters of content_id
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue