summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinWX/ISOFile.cpp
diff options
context:
space:
mode:
authorJosJuice <josjuice@gmail.com>2017-05-06 18:00:22 +0200
committerJosJuice <josjuice@gmail.com>2017-05-07 09:27:20 +0200
commit55960f7feb9bc1cfe025659ad253350660bcd735 (patch)
tree9f7e24bde5c4ee825fe2ec9926a6bd7bf30f3083 /Source/Core/DolphinWX/ISOFile.cpp
parentef4a1f0ec7dd574a58d4737c112fc2584cd2a7fe (diff)
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.
Diffstat (limited to 'Source/Core/DolphinWX/ISOFile.cpp')
-rw-r--r--Source/Core/DolphinWX/ISOFile.cpp2
1 files changed, 1 insertions, 1 deletions
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);