mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-30 14:35:17 -04:00
kern: begin 1.0.0 backwards compat changes (kips run, full boot fails)
This commit is contained in:
parent
e8ffbe630f
commit
49af4fae32
6 changed files with 40 additions and 19 deletions
|
@ -219,14 +219,13 @@ namespace ams::kern::svc {
|
|||
if ((flags & ams::svc::CreateProcessFlag_DeprecatedUseSecureMemory) != 0) {
|
||||
return KMemoryManager::Pool_Secure;
|
||||
} else {
|
||||
return KMemoryManager::Pool_Unsafe;
|
||||
return static_cast<KMemoryManager::Pool>(KSystemControl::GetCreateProcessMemoryPool());
|
||||
}
|
||||
} else {
|
||||
return KMemoryManager::Pool_Unsafe;
|
||||
return static_cast<KMemoryManager::Pool>(KSystemControl::GetCreateProcessMemoryPool());
|
||||
}
|
||||
}(params.flags);
|
||||
|
||||
|
||||
/* Initialize the process. */
|
||||
R_TRY(process->Initialize(params, user_caps, num_caps, process_resource_limit, pool));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue