Merge pull request #5383 from JosJuice/getwiifspath-condition

ISOFile/GameFile: Correct GetWiiFSPath condition
This commit is contained in:
Léo Lam
2017-05-07 18:48:43 +02:00
committed by GitHub
2 changed files with 9 additions and 13 deletions

View File

@ -336,7 +336,7 @@ bool GameFile::ExportWiiSave()
QString GameFile::GetWiiFSPath() const
{
_assert_(m_platform != DiscIO::Platform::GAMECUBE_DISC);
_assert_(m_platform == DiscIO::Platform::WII_DISC || m_platform == DiscIO::Platform::WII_WAD);
const std::string path = Common::GetTitleDataPath(m_title_id, Common::FROM_CONFIGURED_ROOT);