Update src/core/file_format/pkg.cpp

Co-authored-by: GPUCode <47210458+GPUCode@users.noreply.github.com>
This commit is contained in:
georgemoralis 2024-02-29 16:53:25 +02:00 committed by GitHub
parent ca45cf6b7f
commit eb195c26eb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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
file.Seek(0x47); // skip first 7 characters of content_id
file.ReadRaw<u8>(&pkgTitleID, sizeof(pkgTitleID));
file.Read(pkgTitleID);
file.Close();