NetPlay: Synchronize Mii data

It's bundled with the Wii saves for simplicity, since it's quite small.
This commit is contained in:
Techjar 2019-04-08 07:06:21 -04:00
commit 1b8eda827b
5 changed files with 111 additions and 8 deletions

View file

@ -60,6 +60,11 @@ std::string GetTMDFileName(u64 title_id, std::optional<FromWhichRoot> from)
return GetTitleContentPath(title_id, from) + "/title.tmd";
}
std::string GetMiiDatabasePath(std::optional<FromWhichRoot> from)
{
return StringFromFormat("%s/shared2/menu/FaceLib/RFL_DB.dat", RootUserPath(from).c_str());
}
bool IsTitlePath(const std::string& path, std::optional<FromWhichRoot> from, u64* title_id)
{
std::string expected_prefix = RootUserPath(from) + "/title/";
@ -145,4 +150,4 @@ std::string UnescapeFileName(const std::string& filename)
return result;
}
}
} // namespace Common