mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2024-12-28 18:46:06 +00:00
fixed wring pkg files twice
This commit is contained in:
parent
bef8a63996
commit
2ef7f6fdc3
|
@ -87,12 +87,14 @@ bool PKG::extract(const std::string& filepath, const std::string& extractPath, s
|
||||||
out.Close();
|
out.Close();
|
||||||
|
|
||||||
}
|
}
|
||||||
//found an name use it
|
else
|
||||||
|
{
|
||||||
FsFile out;
|
FsFile out;
|
||||||
out.Open(extractPath + name, fsWrite);
|
out.Open(extractPath + name, fsWrite);
|
||||||
out.Write(pkg + entry.offset, entry.size);
|
out.Write(pkg + entry.offset, entry.size);
|
||||||
out.Close();
|
out.Close();
|
||||||
}
|
}
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
//just print with id
|
//just print with id
|
||||||
|
|
Loading…
Reference in a new issue