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