kern: begin 1.0.0 backwards compat changes (kips run, full boot fails)
This commit is contained in:
@@ -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));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user