mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
NANDContentLoader: Replace a string rbegin() call with a back() call
This commit is contained in:
@ -205,7 +205,7 @@ bool CNANDContentLoader::Initialize(const std::string& _rName)
|
|||||||
{
|
{
|
||||||
std::string TMDFileName(m_Path);
|
std::string TMDFileName(m_Path);
|
||||||
|
|
||||||
if ('/' == *TMDFileName.rbegin())
|
if (TMDFileName.back() == '/')
|
||||||
TMDFileName += "title.tmd";
|
TMDFileName += "title.tmd";
|
||||||
else
|
else
|
||||||
m_Path = TMDFileName.substr(0, TMDFileName.find("title.tmd"));
|
m_Path = TMDFileName.substr(0, TMDFileName.find("title.tmd"));
|
||||||
|
Reference in New Issue
Block a user