mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-08-02 22:28:45 +00:00
save_data: fix Backup Job including old backup in the new backup
This commit is contained in:
parent
390a8e4881
commit
e7ed128d30
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ static void backup(const std::filesystem::path& dir_name) {
|
||||||
std::vector<std::filesystem::path> backup_files;
|
std::vector<std::filesystem::path> backup_files;
|
||||||
for (const auto& entry : fs::directory_iterator(dir_name)) {
|
for (const auto& entry : fs::directory_iterator(dir_name)) {
|
||||||
const auto filename = entry.path().filename();
|
const auto filename = entry.path().filename();
|
||||||
if (filename != backup_dir) {
|
if (filename != ::backup_dir) {
|
||||||
backup_files.push_back(entry.path());
|
backup_files.push_back(entry.path());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue