summaryrefslogtreecommitdiff
path: root/Source/Core/DiscIO/NANDContentLoader.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2015-10-07 09:47:26 -0400
committerLioncash <mathew1800@gmail.com>2015-10-07 09:47:26 -0400
commit5f181957b3db9bc8271fd758d7acdf36a60eee8e (patch)
tree61856447756e5147684a6c2dba59dba72f163c9f /Source/Core/DiscIO/NANDContentLoader.cpp
parentec28d7df924f427fc9ae4830c520aaf121cb3713 (diff)
NANDContentLoader: Replace a string rbegin() call with a back() call
Diffstat (limited to 'Source/Core/DiscIO/NANDContentLoader.cpp')
-rw-r--r--Source/Core/DiscIO/NANDContentLoader.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/DiscIO/NANDContentLoader.cpp b/Source/Core/DiscIO/NANDContentLoader.cpp
index 0e26fa051e..3ea33718f3 100644
--- a/Source/Core/DiscIO/NANDContentLoader.cpp
+++ b/Source/Core/DiscIO/NANDContentLoader.cpp
@@ -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"));