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/xci.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/xci.cpp')
| -rw-r--r-- | src/core/loader/xci.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/core/loader/xci.cpp b/src/core/loader/xci.cpp index bd5a83b49..e67e43c69 100644 --- a/src/core/loader/xci.cpp +++ b/src/core/loader/xci.cpp | |||
| @@ -121,10 +121,11 @@ ResultStatus AppLoader_XCI::ReadTitle(std::string& title) { | |||
| 121 | return ResultStatus::Success; | 121 | return ResultStatus::Success; |
| 122 | } | 122 | } |
| 123 | 123 | ||
| 124 | ResultStatus AppLoader_XCI::ReadDeveloper(std::string& developer) { | 124 | ResultStatus AppLoader_XCI::ReadControlData(FileSys::NACP& control) { |
| 125 | if (nacp_file == nullptr) | 125 | if (nacp_file == nullptr) |
| 126 | return ResultStatus::ErrorNoControl; | 126 | return ResultStatus::ErrorNoControl; |
| 127 | developer = nacp_file->GetDeveloperName(); | 127 | control = *nacp_file; |
| 128 | return ResultStatus::Success; | 128 | return ResultStatus::Success; |
| 129 | } | 129 | } |
| 130 | |||
| 130 | } // namespace Loader | 131 | } // namespace Loader |