diff options
| author | bunnei <bunneidev@gmail.com> | 2021-08-06 22:45:18 -0700 |
|---|---|---|
| committer | bunnei <bunneidev@gmail.com> | 2021-08-07 12:18:47 -0700 |
| commit | 951143ba57ffd64e9437cc864d6fc3d358de81e2 (patch) | |
| tree | 00d0687f171ad686ceea0283c157332cce406d1f /src/core/hle/kernel/kernel.h | |
| parent | b0cb5c830c586b9eaa98d93481a981ece094462f (diff) | |
core: hle: kernel: Reflect non-emulated threads as core 3.
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 3a6db0b1ce..57535433be 100644 --- a/src/core/hle/kernel/kernel.h +++ b/src/core/hle/kernel/kernel.h @@ -146,6 +146,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(); |
