summaryrefslogtreecommitdiff
path: root/src/core/core.cpp
diff options
context:
space:
mode:
authorGravatar Fernando Sahmkow2020-02-25 13:22:11 -0400
committerGravatar Fernando Sahmkow2020-06-27 11:35:12 -0400
commit589f9cf108d306e8265ff4856b522cd32fbc121f (patch)
treed9e78acb03901cdbbc3f7649b03048f7cd946f06 /src/core/core.cpp
parentSVC: Correct CreateThread, StartThread, ExitThread, SleepThread. (diff)
downloadyuzu-589f9cf108d306e8265ff4856b522cd32fbc121f.tar.gz
yuzu-589f9cf108d306e8265ff4856b522cd32fbc121f.tar.xz
yuzu-589f9cf108d306e8265ff4856b522cd32fbc121f.zip
SVC: Correct GetThreadPriority, SetThreadPriority, GetThreadCoreMask, SetThreadCoreMask, GetCurrentProcessorNumber
Diffstat (limited to 'src/core/core.cpp')
-rw-r--r--src/core/core.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/core/core.cpp b/src/core/core.cpp
index 1d6179a80..5d4ecdce5 100644
--- a/src/core/core.cpp
+++ b/src/core/core.cpp
@@ -467,6 +467,14 @@ const Kernel::Scheduler& System::CurrentScheduler() const {
467 return impl->CurrentPhysicalCore().Scheduler(); 467 return impl->CurrentPhysicalCore().Scheduler();
468} 468}
469 469
470Kernel::PhysicalCore& System::CurrentPhysicalCore() {
471 return impl->CurrentPhysicalCore();
472}
473
474const Kernel::PhysicalCore& System::CurrentPhysicalCore() const {
475 return impl->CurrentPhysicalCore();
476}
477
470Kernel::Scheduler& System::Scheduler(std::size_t core_index) { 478Kernel::Scheduler& System::Scheduler(std::size_t core_index) {
471 return impl->GetPhysicalCore(core_index).Scheduler(); 479 return impl->GetPhysicalCore(core_index).Scheduler();
472} 480}