mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-04 15:40:02 +00:00
ISOFile/GameFile: Correct GetWiiFSPath condition
This code was originally written when there only were three possible types, but nowadays we also have the DOL/ELF type.
This commit is contained in:
parent
ef4a1f0ec7
commit
55960f7feb
@ -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);
|
||||
|
||||
|
@ -363,7 +363,7 @@ const std::string GameListItem::GetWiiFSPath() const
|
||||
{
|
||||
std::string ret;
|
||||
|
||||
if (m_Platform != DiscIO::Platform::GAMECUBE_DISC)
|
||||
if (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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user