summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorHexagon12 <Hexagon12@users.noreply.github.com>2018-12-10 17:44:14 +0100
committerGitHub <noreply@github.com>2018-12-10 17:44:14 +0100
commit315f3342f7325f6a91b3b02d312ab45408db726f (patch)
tree4e460fc6525c50c95a3ff43c930fb944ad0a4d32 /src/core
parentMerge pull request #1880 from DarkLordZach/cache-storage (diff)
parentkernel/process: Set ideal core from metadata (diff)
downloadyuzu-315f3342f7325f6a91b3b02d312ab45408db726f.tar
yuzu-315f3342f7325f6a91b3b02d312ab45408db726f.tar.gz
yuzu-315f3342f7325f6a91b3b02d312ab45408db726f.tar.bz2
yuzu-315f3342f7325f6a91b3b02d312ab45408db726f.tar.lz
yuzu-315f3342f7325f6a91b3b02d312ab45408db726f.tar.xz
yuzu-315f3342f7325f6a91b3b02d312ab45408db726f.tar.zst
yuzu-315f3342f7325f6a91b3b02d312ab45408db726f.zip
Diffstat (limited to 'src/core')
-rw-r--r--src/core/hle/kernel/process.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/hle/kernel/process.cpp b/src/core/hle/kernel/process.cpp
index 211bf6686..c817fb449 100644
--- a/src/core/hle/kernel/process.cpp
+++ b/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());
}