Trophy fixup
This commit is contained in:
@@ -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)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user