summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorJosJuice <josjuice@gmail.com>2017-05-06 17:51:50 +0200
committerJosJuice <josjuice@gmail.com>2017-05-06 17:51:50 +0200
commit40653a66073a180fc4036aed0721cd3741911cfb (patch)
tree7c267c89f987593d50941f3e740755622aa0b837 /Source/Core
parent36b9e3dd35a7fb4430d4d95300ce5eb30b4f2d6e (diff)
NandPaths: Make .h function order match .cpp
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/Common/NandPaths.cpp8
-rw-r--r--Source/Core/Common/NandPaths.h2
2 files changed, 5 insertions, 5 deletions
diff --git a/Source/Core/Common/NandPaths.cpp b/Source/Core/Common/NandPaths.cpp
index 22afa30c7c..5afa5ef3f1 100644
--- a/Source/Core/Common/NandPaths.cpp
+++ b/Source/Core/Common/NandPaths.cpp
@@ -47,14 +47,14 @@ std::string GetTitleDataPath(u64 _titleID, FromWhichRoot from)
return GetTitlePath(_titleID, from) + "data/";
}
-std::string GetTMDFileName(u64 _titleID, FromWhichRoot from)
+std::string GetTitleContentPath(u64 _titleID, FromWhichRoot from)
{
- return GetTitleContentPath(_titleID, from) + "title.tmd";
+ return GetTitlePath(_titleID, from) + "content/";
}
-std::string GetTitleContentPath(u64 _titleID, FromWhichRoot from)
+std::string GetTMDFileName(u64 _titleID, FromWhichRoot from)
{
- return GetTitlePath(_titleID, from) + "content/";
+ return GetTitleContentPath(_titleID, from) + "title.tmd";
}
std::string EscapeFileName(const std::string& filename)
diff --git a/Source/Core/Common/NandPaths.h b/Source/Core/Common/NandPaths.h
index e71fc34a5e..87c7e8b50c 100644
--- a/Source/Core/Common/NandPaths.h
+++ b/Source/Core/Common/NandPaths.h
@@ -27,10 +27,10 @@ std::string RootUserPath(FromWhichRoot from);
std::string GetImportTitlePath(u64 title_id, FromWhichRoot from = FROM_SESSION_ROOT);
std::string GetTicketFileName(u64 _titleID, FromWhichRoot from);
-std::string GetTMDFileName(u64 _titleID, FromWhichRoot from);
std::string GetTitlePath(u64 title_id, FromWhichRoot from);
std::string GetTitleDataPath(u64 _titleID, FromWhichRoot from);
std::string GetTitleContentPath(u64 _titleID, FromWhichRoot from);
+std::string GetTMDFileName(u64 _titleID, FromWhichRoot from);
// Escapes characters that are invalid or have special meanings in the host file system
std::string EscapeFileName(const std::string& filename);