loader: Remove address mapping remnants from citra

These mappings are leftovers from citra and don't apply to the Switch.
This commit is contained in:
Lioncash 2018-08-14 21:32:53 -04:00
parent d1520410a3
commit 96c0b81a51
6 changed files with 0 additions and 17 deletions

View file

@ -152,7 +152,6 @@ ResultStatus AppLoader_NSO::Load(Kernel::SharedPtr<Kernel::Process>& process) {
LOG_DEBUG(Loader, "loaded module {} @ 0x{:X}", file->GetName(), Memory::PROCESS_IMAGE_VADDR);
process->svc_access_mask.set();
process->address_mappings = default_address_mappings;
process->resource_limit =
Kernel::ResourceLimit::GetForCategory(Kernel::ResourceLimitCategory::APPLICATION);
process->Run(Memory::PROCESS_IMAGE_VADDR, THREADPRIO_DEFAULT, Memory::DEFAULT_STACK_SIZE);