mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-13 10:18:40 +12:00
Trophy fixup
This commit is contained in:
parent
bfa78870cb
commit
97e26f9d6c
1 changed files with 4 additions and 1 deletions
|
@ -31,6 +31,9 @@ bool TRPLoader::Install(const std::string& dest, bool show)
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Save TROPUSR.DAT
|
||||||
|
fs::copy_file(temp + "/TROPUSR.DAT", local_path + "/TROPUSR.DAT", false);
|
||||||
|
|
||||||
std::vector<char> buffer(65536);
|
std::vector<char> buffer(65536);
|
||||||
|
|
||||||
bool success = true;
|
bool success = true;
|
||||||
|
@ -50,7 +53,7 @@ bool TRPLoader::Install(const std::string& dest, bool show)
|
||||||
|
|
||||||
if (success)
|
if (success)
|
||||||
{
|
{
|
||||||
success = vfs::host::remove_all(local_path, Emu.GetHddDir(), true);
|
success = vfs::host::remove_all(local_path, Emu.GetHddDir(), true) || !fs::is_dir(local_path);
|
||||||
|
|
||||||
if (success)
|
if (success)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue