diff options
author | bunnei <bunneidev@gmail.com> | 2021-08-07 07:45:18 +0200 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2021-12-07 01:39:16 +0100 |
commit | 669a2d2c67bd9a3267286bc0c2e6e3c1dc98c154 (patch) | |
tree | c2c3228add0d937de938081d000f62b3d6e4d2d2 /src/core/hle/kernel/kernel.h | |
parent | Merge pull request #7529 from german77/sdl2.0.18 (diff) | |
download | yuzu-669a2d2c67bd9a3267286bc0c2e6e3c1dc98c154.tar yuzu-669a2d2c67bd9a3267286bc0c2e6e3c1dc98c154.tar.gz yuzu-669a2d2c67bd9a3267286bc0c2e6e3c1dc98c154.tar.bz2 yuzu-669a2d2c67bd9a3267286bc0c2e6e3c1dc98c154.tar.lz yuzu-669a2d2c67bd9a3267286bc0c2e6e3c1dc98c154.tar.xz yuzu-669a2d2c67bd9a3267286bc0c2e6e3c1dc98c154.tar.zst yuzu-669a2d2c67bd9a3267286bc0c2e6e3c1dc98c154.zip |
Diffstat (limited to 'src/core/hle/kernel/kernel.h')
-rw-r--r-- | src/core/hle/kernel/kernel.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/hle/kernel/kernel.h b/src/core/hle/kernel/kernel.h index d2ceae950..3499f8b90 100644 --- a/src/core/hle/kernel/kernel.h +++ b/src/core/hle/kernel/kernel.h @@ -148,6 +148,9 @@ public: /// Gets the an instance of the respective physical CPU core. const Kernel::PhysicalCore& PhysicalCore(std::size_t id) const; + /// Gets the current physical core index for the running host thread. + std::size_t CurrentPhysicalCoreIndex() const; + /// Gets the sole instance of the Scheduler at the current running core. Kernel::KScheduler* CurrentScheduler(); |