summaryrefslogtreecommitdiffstats
path: root/src/core/loader/nsp.cpp
diff options
context:
space:
mode:
authorZach Hilman <zachhilman@gmail.com>2018-11-28 20:01:56 +0100
committerZach Hilman <zachhilman@gmail.com>2018-12-03 23:21:25 +0100
commit5f0217592b9f27a32c236471c0a27e8ce345c926 (patch)
tree496180c2aab0b37cd15a1075ad0adfd8abb6eaf8 /src/core/loader/nsp.cpp
parentaoc_u: Obey disabled add-ons list when listing DLC (diff)
downloadyuzu-5f0217592b9f27a32c236471c0a27e8ce345c926.tar
yuzu-5f0217592b9f27a32c236471c0a27e8ce345c926.tar.gz
yuzu-5f0217592b9f27a32c236471c0a27e8ce345c926.tar.bz2
yuzu-5f0217592b9f27a32c236471c0a27e8ce345c926.tar.lz
yuzu-5f0217592b9f27a32c236471c0a27e8ce345c926.tar.xz
yuzu-5f0217592b9f27a32c236471c0a27e8ce345c926.tar.zst
yuzu-5f0217592b9f27a32c236471c0a27e8ce345c926.zip
Diffstat (limited to 'src/core/loader/nsp.cpp')
-rw-r--r--src/core/loader/nsp.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/core/loader/nsp.cpp b/src/core/loader/nsp.cpp
index 080d89904..b4ab88ae8 100644
--- a/src/core/loader/nsp.cpp
+++ b/src/core/loader/nsp.cpp
@@ -151,4 +151,11 @@ ResultStatus AppLoader_NSP::ReadTitle(std::string& title) {
title = nacp_file->GetApplicationName();
return ResultStatus::Success;
}
+
+ResultStatus AppLoader_NSP::ReadDeveloper(std::string& developer) {
+ if (nacp_file == nullptr)
+ return ResultStatus::ErrorNoControl;
+ developer = nacp_file->GetDeveloperName();
+ return ResultStatus::Success;
+}
} // namespace Loader