mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-04-22 04:24:44 +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;
|
||||
for (const auto& entry : fs::directory_iterator(dir_name)) {
|
||||
const auto filename = entry.path().filename();
|
||||
if (filename != backup_dir) {
|
||||
if (filename != ::backup_dir) {
|
||||
backup_files.push_back(entry.path());
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue