Update src/core/file_format/pkg.cpp
Co-authored-by: GPUCode <47210458+GPUCode@users.noreply.github.com>
This commit is contained in:
parent
ca45cf6b7f
commit
eb195c26eb
|
@ -68,7 +68,7 @@ bool PKG::Open(const std::string& filepath) {
|
||||||
|
|
||||||
// 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
|
||||||
file.ReadRaw<u8>(&pkgTitleID, sizeof(pkgTitleID));
|
file.Read(pkgTitleID);
|
||||||
|
|
||||||
file.Close();
|
file.Close();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue