diff options
| author | 2019-09-09 16:45:28 +1000 | |
|---|---|---|
| committer | 2019-09-09 16:45:28 +1000 | |
| commit | 07a0242535ff339b556629b34f5d3da6c4e3da69 (patch) | |
| tree | 1a3c7b839f6d787b3f6d00c0aa3558cd82b3caae /src/core/loader/nro.cpp | |
| parent | Merge pull request #2716 from lioncash/hle-global (diff) | |
| parent | nro: Implement ReadControlData (diff) | |
| download | yuzu-07a0242535ff339b556629b34f5d3da6c4e3da69.tar.gz yuzu-07a0242535ff339b556629b34f5d3da6c4e3da69.tar.xz yuzu-07a0242535ff339b556629b34f5d3da6c4e3da69.zip | |
Merge pull request #2847 from VelocityRa/nro-nacp-fix
nro/ui: Show "Developer" field in Properties
Diffstat (limited to 'src/core/loader/nro.cpp')
| -rw-r--r-- | src/core/loader/nro.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/core/loader/nro.cpp b/src/core/loader/nro.cpp index e92e2e06e..3a5361fdd 100644 --- a/src/core/loader/nro.cpp +++ b/src/core/loader/nro.cpp | |||
| @@ -258,6 +258,15 @@ ResultStatus AppLoader_NRO::ReadTitle(std::string& title) { | |||
| 258 | return ResultStatus::Success; | 258 | return ResultStatus::Success; |
| 259 | } | 259 | } |
| 260 | 260 | ||
| 261 | ResultStatus AppLoader_NRO::ReadControlData(FileSys::NACP& control) { | ||
| 262 | if (nacp == nullptr) { | ||
| 263 | return ResultStatus::ErrorNoControl; | ||
| 264 | } | ||
| 265 | |||
| 266 | control = *nacp; | ||
| 267 | return ResultStatus::Success; | ||
| 268 | } | ||
| 269 | |||
| 261 | bool AppLoader_NRO::IsRomFSUpdatable() const { | 270 | bool AppLoader_NRO::IsRomFSUpdatable() const { |
| 262 | return false; | 271 | return false; |
| 263 | } | 272 | } |