mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
Change some CNANDContentLoader logic to what was probably intended. Kills some warn logs when opening Dolphin.
This commit is contained in:
@ -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"));
|
||||
|
Reference in New Issue
Block a user