diff options
author | bunnei <bunneidev@gmail.com> | 2017-09-29 20:58:42 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-29 20:58:42 +0200 |
commit | b07af7dda822898e9c8f231c5ddcd1741d93dbef (patch) | |
tree | d41c9221d6065b8cf9e6a2405565b675a9c83c51 /src/core/loader/ncch.h | |
parent | Merge pull request #2907 from Subv/warnings3 (diff) | |
parent | Loaders: Don't automatically set the current process every time we load an application. (diff) | |
download | yuzu-b07af7dda822898e9c8f231c5ddcd1741d93dbef.tar yuzu-b07af7dda822898e9c8f231c5ddcd1741d93dbef.tar.gz yuzu-b07af7dda822898e9c8f231c5ddcd1741d93dbef.tar.bz2 yuzu-b07af7dda822898e9c8f231c5ddcd1741d93dbef.tar.lz yuzu-b07af7dda822898e9c8f231c5ddcd1741d93dbef.tar.xz yuzu-b07af7dda822898e9c8f231c5ddcd1741d93dbef.tar.zst yuzu-b07af7dda822898e9c8f231c5ddcd1741d93dbef.zip |
Diffstat (limited to 'src/core/loader/ncch.h')
-rw-r--r-- | src/core/loader/ncch.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/core/loader/ncch.h b/src/core/loader/ncch.h index 9b56465cb..09230ae33 100644 --- a/src/core/loader/ncch.h +++ b/src/core/loader/ncch.h @@ -33,7 +33,7 @@ public: return IdentifyType(file); } - ResultStatus Load() override; + ResultStatus Load(Kernel::SharedPtr<Kernel::Process>& process) override; /** * Loads the Exheader and returns the system mode for this application. @@ -62,9 +62,10 @@ public: private: /** * Loads .code section into memory for booting + * @param process The newly created process * @return ResultStatus result of function */ - ResultStatus LoadExec(); + ResultStatus LoadExec(Kernel::SharedPtr<Kernel::Process>& process); /// Reads the region lockout info in the SMDH and send it to CFG service void ParseRegionLockoutInfo(); |