From 55960f7feb9bc1cfe025659ad253350660bcd735 Mon Sep 17 00:00:00 2001 From: JosJuice Date: Sat, 6 May 2017 18:00:22 +0200 Subject: 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. --- Source/Core/DolphinWX/ISOFile.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Source/Core/DolphinWX/ISOFile.cpp') diff --git a/Source/Core/DolphinWX/ISOFile.cpp b/Source/Core/DolphinWX/ISOFile.cpp index ac4c901894..cba1f17d5e 100644 --- a/Source/Core/DolphinWX/ISOFile.cpp +++ b/Source/Core/DolphinWX/ISOFile.cpp @@ -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); -- cgit v1.2.3