mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-21 03:54:57 +00:00
Merge pull request #3150 from lioncash/iter
NANDContentLoader: Replace a string rbegin() call with a back() call
This commit is contained in:
commit
a9d6448777
1 changed files with 1 additions and 1 deletions
|
@ -205,7 +205,7 @@ bool CNANDContentLoader::Initialize(const std::string& _rName)
|
|||
{
|
||||
std::string TMDFileName(m_Path);
|
||||
|
||||
if ('/' == *TMDFileName.rbegin())
|
||||
if (TMDFileName.back() == '/')
|
||||
TMDFileName += "title.tmd";
|
||||
else
|
||||
m_Path = TMDFileName.substr(0, TMDFileName.find("title.tmd"));
|
||||
|
|
Loading…
Add table
Reference in a new issue