From eb195c26ebe6f72169b7c3f68a9485033c5d9ea9 Mon Sep 17 00:00:00 2001 From: georgemoralis Date: Thu, 29 Feb 2024 16:53:25 +0200 Subject: [PATCH] Update src/core/file_format/pkg.cpp Co-authored-by: GPUCode <47210458+GPUCode@users.noreply.github.com> --- src/core/file_format/pkg.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/file_format/pkg.cpp b/src/core/file_format/pkg.cpp index 247a82d26..1ff54fb48 100644 --- a/src/core/file_format/pkg.cpp +++ b/src/core/file_format/pkg.cpp @@ -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(&pkgTitleID, sizeof(pkgTitleID)); + file.Read(pkgTitleID); file.Close();