Browse Source
Merge pull request #1872 from lioncash/proc-info
kernel/process: Set ideal core from metadata
pull/15/merge
Hexagon12
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
0 deletions
-
src/core/hle/kernel/process.cpp
|
|
|
@ -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()); |
|
|
|
} |
|
|
|
|