diff options
author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2020-02-25 18:22:11 +0100 |
---|---|---|
committer | Fernando Sahmkow <fsahmkow27@gmail.com> | 2020-06-27 17:35:12 +0200 |
commit | 589f9cf108d306e8265ff4856b522cd32fbc121f (patch) | |
tree | d9e78acb03901cdbbc3f7649b03048f7cd946f06 /src/core/core.cpp | |
parent | SVC: Correct CreateThread, StartThread, ExitThread, SleepThread. (diff) | |
download | yuzu-589f9cf108d306e8265ff4856b522cd32fbc121f.tar yuzu-589f9cf108d306e8265ff4856b522cd32fbc121f.tar.gz yuzu-589f9cf108d306e8265ff4856b522cd32fbc121f.tar.bz2 yuzu-589f9cf108d306e8265ff4856b522cd32fbc121f.tar.lz yuzu-589f9cf108d306e8265ff4856b522cd32fbc121f.tar.xz yuzu-589f9cf108d306e8265ff4856b522cd32fbc121f.tar.zst yuzu-589f9cf108d306e8265ff4856b522cd32fbc121f.zip |
Diffstat (limited to 'src/core/core.cpp')
-rw-r--r-- | src/core/core.cpp | 8 |
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 { return impl->CurrentPhysicalCore().Scheduler(); } +Kernel::PhysicalCore& System::CurrentPhysicalCore() { + return impl->CurrentPhysicalCore(); +} + +const Kernel::PhysicalCore& System::CurrentPhysicalCore() const { + return impl->CurrentPhysicalCore(); +} + Kernel::Scheduler& System::Scheduler(std::size_t core_index) { return impl->GetPhysicalCore(core_index).Scheduler(); } |