Merge pull request #1872 from lioncash/proc-info

kernel/process: Set ideal core from metadata
This commit is contained in:
Hexagon12 2018-12-10 18:44:14 +02:00 committed by GitHub
commit 315f3342f7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -66,6 +66,7 @@ ResultCode Process::ClearSignalState() {
void Process::LoadFromMetadata(const FileSys::ProgramMetadata& metadata) {
program_id = metadata.GetTitleID();
ideal_processor = metadata.GetMainThreadCore();
is_64bit_process = metadata.Is64BitProgram();
vm_manager.Reset(metadata.GetAddressSpaceType());
}