mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-20 11:35:54 +00:00
Merge pull request #8772 from JosJuice/create-backup-dir
Core: Call CreateFullPath before using Backup directory
This commit is contained in:
commit
165c2e3017
1 changed files with 2 additions and 0 deletions
|
@ -39,6 +39,8 @@ static bool CopyBackupFile(const std::string& path_from, const std::string& path
|
|||
if (!File::Exists(path_from))
|
||||
return false;
|
||||
|
||||
File::CreateFullPath(path_to);
|
||||
|
||||
return File::Copy(path_from, path_to);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue