mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-25 07:09:48 -06:00
Core: Call CreateFullPath before using Backup directory
This commit is contained in:
@ -39,6 +39,8 @@ static bool CopyBackupFile(const std::string& path_from, const std::string& path
|
|||||||
if (!File::Exists(path_from))
|
if (!File::Exists(path_from))
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
File::CreateFullPath(path_to);
|
||||||
|
|
||||||
return File::Copy(path_from, path_to);
|
return File::Copy(path_from, path_to);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user