Merge pull request #7966 from Techjar/fix-netplay-full-wii-save
Core/WiiRoot: Fix NetPlay full Wii save sync not copying all the saves back to main NAND
This commit is contained in:
commit
98b670dd29
|
@ -252,8 +252,8 @@ void CleanUpWiiFileSystemContents()
|
||||||
WARN_LOG(CORE, "Failed to copy Mii database to the NAND");
|
WARN_LOG(CORE, "Failed to copy Mii database to the NAND");
|
||||||
}
|
}
|
||||||
|
|
||||||
const u64 title_id = SConfig::GetInstance().GetTitleID();
|
for (const u64 title_id : ios->GetES()->GetInstalledTitles())
|
||||||
|
{
|
||||||
const auto session_save = WiiSave::MakeNandStorage(ios->GetFS().get(), title_id);
|
const auto session_save = WiiSave::MakeNandStorage(ios->GetFS().get(), title_id);
|
||||||
|
|
||||||
// FS won't write the save if the directory doesn't exist
|
// FS won't write the save if the directory doesn't exist
|
||||||
|
@ -275,4 +275,5 @@ void CleanUpWiiFileSystemContents()
|
||||||
WiiSave::Copy(user_save.get(), backup_save.get());
|
WiiSave::Copy(user_save.get(), backup_save.get());
|
||||||
WiiSave::Copy(session_save.get(), user_save.get());
|
WiiSave::Copy(session_save.get(), user_save.get());
|
||||||
}
|
}
|
||||||
|
}
|
||||||
} // namespace Core
|
} // namespace Core
|
||||||
|
|
Loading…
Reference in New Issue