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/core.cpp | |
| parent | b0cb5c830c586b9eaa98d93481a981ece094462f (diff) | |
core: hle: kernel: Reflect non-emulated threads as core 3.
Diffstat (limited to 'src/core/core.cpp')
| -rw-r--r-- | src/core/core.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/core/core.cpp b/src/core/core.cpp index d3e84c4efb..5d8a61b3ab 100644 --- a/src/core/core.cpp +++ b/src/core/core.cpp @@ -494,12 +494,6 @@ const ARM_Interface& System::CurrentArmInterface() const { return impl->kernel.CurrentPhysicalCore().ArmInterface(); } -std::size_t System::CurrentCoreIndex() const { - std::size_t core = impl->kernel.GetCurrentHostThreadID(); - ASSERT(core < Core::Hardware::NUM_CPU_CORES); - return core; -} - Kernel::PhysicalCore& System::CurrentPhysicalCore() { return impl->kernel.CurrentPhysicalCore(); } |
