diff options
| author | 2018-12-27 11:04:05 -0500 | |
|---|---|---|
| committer | 2018-12-27 11:04:05 -0500 | |
| commit | c4515d305b80556fc9b316805a50e2303304a457 (patch) | |
| tree | 9ef68f80306b0bfbd17e84e70c44f3656c057fc5 /src/core/loader/nsp.cpp | |
| parent | Merge pull request #1946 from lioncash/decl (diff) | |
| parent | am: Implement GetSaveDataSize and ExtendSaveData (diff) | |
| download | yuzu-c4515d305b80556fc9b316805a50e2303304a457.tar.gz yuzu-c4515d305b80556fc9b316805a50e2303304a457.tar.xz yuzu-c4515d305b80556fc9b316805a50e2303304a457.zip | |
Merge pull request #1879 from DarkLordZach/am-save-data-size
am: Implement GetSaveDataSize and ExtendSaveData using files
Diffstat (limited to 'src/core/loader/nsp.cpp')
| -rw-r--r-- | src/core/loader/nsp.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/loader/nsp.cpp b/src/core/loader/nsp.cpp index b4ab88ae8..4d4b44571 100644 --- a/src/core/loader/nsp.cpp +++ b/src/core/loader/nsp.cpp | |||
| @@ -152,10 +152,10 @@ ResultStatus AppLoader_NSP::ReadTitle(std::string& title) { | |||
| 152 | return ResultStatus::Success; | 152 | return ResultStatus::Success; |
| 153 | } | 153 | } |
| 154 | 154 | ||
| 155 | ResultStatus AppLoader_NSP::ReadDeveloper(std::string& developer) { | 155 | ResultStatus AppLoader_NSP::ReadControlData(FileSys::NACP& nacp) { |
| 156 | if (nacp_file == nullptr) | 156 | if (nacp_file == nullptr) |
| 157 | return ResultStatus::ErrorNoControl; | 157 | return ResultStatus::ErrorNoControl; |
| 158 | developer = nacp_file->GetDeveloperName(); | 158 | nacp = *nacp_file; |
| 159 | return ResultStatus::Success; | 159 | return ResultStatus::Success; |
| 160 | } | 160 | } |
| 161 | } // namespace Loader | 161 | } // namespace Loader |