diff options
author | Nick Renieris <[email protected]> | 2019-09-08 00:40:21 +0300 |
---|---|---|
committer | Nick Renieris <[email protected]> | 2019-09-08 00:40:21 +0300 |
commit | bfc5bacecd194589476ad965e5849ac5b009771d (patch) | |
tree | 6e376a26e9b01871b22ab1da8ade79936a4fd3b9 /src/core/loader/nro.cpp | |
parent | 50b5bb44a009dc899d0d7722e50d8976ce4e34f1 (diff) | |
download | yuzu-android-bfc5bacecd194589476ad965e5849ac5b009771d.tar.gz yuzu-android-bfc5bacecd194589476ad965e5849ac5b009771d.zip |
nro: Implement ReadControlData
With this, the "Developer" field in the Properties for homebrew is now populated.
Signed-off-by: Nick Renieris <[email protected]>
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) { return ResultStatus::Success; } +ResultStatus AppLoader_NRO::ReadControlData(FileSys::NACP& control) { + if (nacp == nullptr) { + return ResultStatus::ErrorNoControl; + } + + control = *nacp; + return ResultStatus::Success; +} + bool AppLoader_NRO::IsRomFSUpdatable() const { return false; } |