From 95a089749119d4ff18e10a5cd3b29b6b1bd07986 Mon Sep 17 00:00:00 2001 From: JosJuice Date: Tue, 28 Apr 2020 17:53:12 +0200 Subject: [PATCH] Core: Call CreateFullPath before using Backup directory --- Source/Core/Core/WiiRoot.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Source/Core/Core/WiiRoot.cpp b/Source/Core/Core/WiiRoot.cpp index 3b7a17ab97..4096504867 100644 --- a/Source/Core/Core/WiiRoot.cpp +++ b/Source/Core/Core/WiiRoot.cpp @@ -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); }