loader/nso: Set main code region in VMManager

For rom directories (and by extension, XCI/NSP/NAX/NCA) this is for the NSO with name 'main', for regular NSOs, this is the NSO.
This commit is contained in:
Zach Hilman 2018-12-22 21:31:07 -05:00
parent b952a30555
commit c100a4b8d4
3 changed files with 21 additions and 2 deletions

View file

@ -43,6 +43,7 @@ public:
static std::optional<VAddr> LoadModule(Kernel::Process& process, const FileSys::VfsFile& file,
VAddr load_base, bool should_pass_arguments,
bool should_register_data_segment,
std::optional<FileSys::PatchManager> pm = {});
ResultStatus Load(Kernel::Process& process) override;