diff options
| author | 2018-11-28 14:01:56 -0500 | |
|---|---|---|
| committer | 2018-12-03 17:21:25 -0500 | |
| commit | 5f0217592b9f27a32c236471c0a27e8ce345c926 (patch) | |
| tree | 496180c2aab0b37cd15a1075ad0adfd8abb6eaf8 /src/core/loader/xci.cpp | |
| parent | aoc_u: Obey disabled add-ons list when listing DLC (diff) | |
| download | yuzu-5f0217592b9f27a32c236471c0a27e8ce345c926.tar.gz yuzu-5f0217592b9f27a32c236471c0a27e8ce345c926.tar.xz yuzu-5f0217592b9f27a32c236471c0a27e8ce345c926.zip | |
loader: Add support for reading the name of game's developer
Diffstat (limited to 'src/core/loader/xci.cpp')
| -rw-r--r-- | src/core/loader/xci.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/core/loader/xci.cpp b/src/core/loader/xci.cpp index 461607c95..bd5a83b49 100644 --- a/src/core/loader/xci.cpp +++ b/src/core/loader/xci.cpp | |||
| @@ -120,4 +120,11 @@ ResultStatus AppLoader_XCI::ReadTitle(std::string& title) { | |||
| 120 | title = nacp_file->GetApplicationName(); | 120 | title = nacp_file->GetApplicationName(); |
| 121 | return ResultStatus::Success; | 121 | return ResultStatus::Success; |
| 122 | } | 122 | } |
| 123 | |||
| 124 | ResultStatus AppLoader_XCI::ReadDeveloper(std::string& developer) { | ||
| 125 | if (nacp_file == nullptr) | ||
| 126 | return ResultStatus::ErrorNoControl; | ||
| 127 | developer = nacp_file->GetDeveloperName(); | ||
| 128 | return ResultStatus::Success; | ||
| 129 | } | ||
| 123 | } // namespace Loader | 130 | } // namespace Loader |