summaryrefslogtreecommitdiff
path: root/Source/Core/DiscIO/Src/NANDContentLoader.cpp
diff options
context:
space:
mode:
authorJordan Woyak <jordan.woyak@gmail.com>2013-02-17 01:57:25 -0600
committerJordan Woyak <jordan.woyak@gmail.com>2013-02-17 01:57:25 -0600
commitbf4be1d8d1f6d4d8d7b240aa4aa5288e6b6e83c8 (patch)
tree1f8827f8d02c1d34cae02c5c5a5446ee5a2b0728 /Source/Core/DiscIO/Src/NANDContentLoader.cpp
parent333084250591d0cd2e88ebdb722a36003c2ae213 (diff)
Change some CNANDContentLoader logic to what was probably intended. Kills some warn logs when opening Dolphin.
Diffstat (limited to 'Source/Core/DiscIO/Src/NANDContentLoader.cpp')
-rw-r--r--Source/Core/DiscIO/Src/NANDContentLoader.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/DiscIO/Src/NANDContentLoader.cpp b/Source/Core/DiscIO/Src/NANDContentLoader.cpp
index dc1f44739b..3c00d66be5 100644
--- a/Source/Core/DiscIO/Src/NANDContentLoader.cpp
+++ b/Source/Core/DiscIO/Src/NANDContentLoader.cpp
@@ -215,7 +215,7 @@ bool CNANDContentLoader::Initialize(const std::string& _rName)
{
std::string TMDFileName(m_Path);
- if (File::IsDirectory(TMDFileName))
+ if ('/' == *TMDFileName.rbegin())
TMDFileName += "title.tmd";
else
m_Path = TMDFileName.substr(0, TMDFileName.find("title.tmd"));