diff options
author | bunnei <bunneidev@gmail.com> | 2021-08-07 07:45:18 +0200 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2021-08-07 21:18:47 +0200 |
commit | 68eee948758eeddb4f3f091cd89c870e481b278b (patch) | |
tree | 00d0687f171ad686ceea0283c157332cce406d1f /src/core/core.cpp | |
parent | core: cpu_manager: Use jthread. (diff) | |
download | yuzu-68eee948758eeddb4f3f091cd89c870e481b278b.tar yuzu-68eee948758eeddb4f3f091cd89c870e481b278b.tar.gz yuzu-68eee948758eeddb4f3f091cd89c870e481b278b.tar.bz2 yuzu-68eee948758eeddb4f3f091cd89c870e481b278b.tar.lz yuzu-68eee948758eeddb4f3f091cd89c870e481b278b.tar.xz yuzu-68eee948758eeddb4f3f091cd89c870e481b278b.tar.zst yuzu-68eee948758eeddb4f3f091cd89c870e481b278b.zip |
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 d3e84c4ef..5d8a61b3a 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(); } |