Skip to content

Commit

Permalink
Change some CNANDContentLoader logic to what was probably intended. K…
Browse files Browse the repository at this point in the history
…ills some warn logs when opening Dolphin.
  • Loading branch information
jordan-woyak committed Feb 17, 2013
1 parent 3330842 commit bf4be1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Core/DiscIO/Src/NANDContentLoader.cpp
Expand Up @@ -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"));
Expand Down

0 comments on commit bf4be1d

Please sign in to comment.