summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2020-10-27 05:55:33 +0100
committerReinUsesLisp <reinuseslisp@airmail.cc>2020-10-27 05:55:39 +0100
commitce69ff2890e0a3a34ba6b80af6b3d60811c5f7ea (patch)
treebd70bdb254a59da749fac17b6b354ce8dbcde452 /src/core
parentMerge pull request #4805 from bunnei/update-defaults (diff)
downloadyuzu-ce69ff2890e0a3a34ba6b80af6b3d60811c5f7ea.tar
yuzu-ce69ff2890e0a3a34ba6b80af6b3d60811c5f7ea.tar.gz
yuzu-ce69ff2890e0a3a34ba6b80af6b3d60811c5f7ea.tar.bz2
yuzu-ce69ff2890e0a3a34ba6b80af6b3d60811c5f7ea.tar.lz
yuzu-ce69ff2890e0a3a34ba6b80af6b3d60811c5f7ea.tar.xz
yuzu-ce69ff2890e0a3a34ba6b80af6b3d60811c5f7ea.tar.zst
yuzu-ce69ff2890e0a3a34ba6b80af6b3d60811c5f7ea.zip
Diffstat (limited to 'src/core')
-rw-r--r--src/core/hle/kernel/kernel.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/core/hle/kernel/kernel.cpp b/src/core/hle/kernel/kernel.cpp
index b2b5b8adf..bb3e312a7 100644
--- a/src/core/hle/kernel/kernel.cpp
+++ b/src/core/hle/kernel/kernel.cpp
@@ -86,8 +86,6 @@ struct KernelCore::Impl {
}
cores.clear();
- registered_core_threads.reset();
-
process_list.clear();
current_process = nullptr;
@@ -199,9 +197,7 @@ struct KernelCore::Impl {
const auto it = std::find(register_host_thread_keys.begin(), end, this_id);
ASSERT(core_id < Core::Hardware::NUM_CPU_CORES);
ASSERT(it == end);
- ASSERT(!registered_core_threads[core_id]);
InsertHostThread(static_cast<u32>(core_id));
- registered_core_threads.set(core_id);
}
void RegisterHostThread() {
@@ -332,7 +328,6 @@ struct KernelCore::Impl {
// 0-3 IDs represent core threads, >3 represent others
std::atomic<u32> registered_thread_ids{Core::Hardware::NUM_CPU_CORES};
- std::bitset<Core::Hardware::NUM_CPU_CORES> registered_core_threads;
// Number of host threads is a relatively high number to avoid overflowing
static constexpr size_t NUM_REGISTRABLE_HOST_THREADS = 64;