mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-21 22:45:45 +00:00
kernel/process: Set ideal core from metadata
A very trivial change. If metadata is available, the process should use it to retrieve the desired core for the process to run on.
This commit is contained in:
parent
44e35994ce
commit
f75d6b7dd1
1 changed files with 1 additions and 0 deletions
|
@ -50,6 +50,7 @@ SharedPtr<ResourceLimit> Process::GetResourceLimit() const {
|
|||
|
||||
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());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue