mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-21 20:15:27 +00: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;
|
||||
}
|
||||
|
||||
// Save TROPUSR.DAT
|
||||
fs::copy_file(temp + "/TROPUSR.DAT", local_path + "/TROPUSR.DAT", false);
|
||||
|
||||
std::vector<char> buffer(65536);
|
||||
|
||||
bool success = true;
|
||||
|
@ -50,7 +53,7 @@ bool TRPLoader::Install(const std::string& dest, bool show)
|
|||
|
||||
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)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue