mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-04-20 11:35:45 +00:00
Update src/core/loader.cpp
Co-authored-by: GPUCode <47210458+GPUCode@users.noreply.github.com>
This commit is contained in:
parent
f933ba262e
commit
26161707ab
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ FileTypes DetectFileType(const std::string& filepath) {
|
|||
file.Open(filepath, Common::FS::FileAccessMode::Read);
|
||||
file.Seek(0);
|
||||
u32 magic;
|
||||
file.ReadRaw<u8>(&magic, sizeof(magic));
|
||||
file.Read(magic);
|
||||
file.Close();
|
||||
switch (magic) {
|
||||
case 0x544e437f: // PS4 PKG
|
||||
|
|
Loading…
Add table
Reference in a new issue