Wipe clean VSH's temporary directory of choice at boot

This commit is contained in:
Eladash 2022-01-07 19:16:03 +02:00 committed by Ivan
parent 285322982f
commit 1088375b38
7 changed files with 15 additions and 6 deletions

View file

@ -96,7 +96,7 @@ namespace rpcs3::cache
break;
}
if (is_dir ? !fs::remove_all(name, true) : !fs::remove_file(name))
if (is_dir ? !fs::remove_all(name, true, true) : !fs::remove_file(name))
{
sys_log.error("Could not remove cache directory '%s' item '%s' (%s)", cache_location, item.name, fs::g_tls_error);
break;