summaryrefslogtreecommitdiffstats
path: root/src/core/loader/ncch.h
diff options
context:
space:
mode:
authorSubv <subv2112@gmail.com>2017-09-27 01:17:47 +0200
committerSubv <subv2112@gmail.com>2017-09-27 01:17:47 +0200
commit7f48aa8d2580da6b3b83a389e31804e493aba69f (patch)
tree287b04f23f2d195f123fd15dca68d6a1cebf945c /src/core/loader/ncch.h
parentKernel/Thread: Allow specifying which process a thread belongs to when creating it. (diff)
downloadyuzu-7f48aa8d2580da6b3b83a389e31804e493aba69f.tar
yuzu-7f48aa8d2580da6b3b83a389e31804e493aba69f.tar.gz
yuzu-7f48aa8d2580da6b3b83a389e31804e493aba69f.tar.bz2
yuzu-7f48aa8d2580da6b3b83a389e31804e493aba69f.tar.lz
yuzu-7f48aa8d2580da6b3b83a389e31804e493aba69f.tar.xz
yuzu-7f48aa8d2580da6b3b83a389e31804e493aba69f.tar.zst
yuzu-7f48aa8d2580da6b3b83a389e31804e493aba69f.zip
Diffstat (limited to '')
-rw-r--r--src/core/loader/ncch.h5
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();