diff options
| author | bunnei <bunneidev@gmail.com> | 2021-08-06 22:45:18 -0700 |
|---|---|---|
| committer | bunnei <bunneidev@gmail.com> | 2021-12-06 16:39:16 -0800 |
| commit | cae0bef7ec1510779cdb400cb2af36b1577c831d (patch) | |
| tree | c2c3228add0d937de938081d000f62b3d6e4d2d2 /src/core/hle/kernel/kernel.h | |
| parent | ddbbf776516cc5d262c7ee38aa9ddf44d6721b50 (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 d2ceae9505..3499f8b903 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(); |
