Update src/core/file_format/psf.cpp

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

View file

@ -21,7 +21,7 @@ bool PSF::open(const std::string& filepath) {
const u64 psfSize = file.GetSize();
psf.resize(psfSize);
file.Seek(0);
file.ReadRaw<u8>(&psf[0], psfSize);
file.Read(psf);
// Parse file contents
PSFHeader header;