VERY experimental Nintendo Switch 2 emulator
C++
kernel/thread: Actually remove the definition of ExitCurrentThread()
Lioncash6e56eb5205f6
diff --git a/src/core/hle/kernel/thread.cpp b/src/core/hle/kernel/thread.cppindex 2e712c9cb6..89f180bd90 100644--- a/src/core/hle/kernel/thread.cpp+++ b/src/core/hle/kernel/thread.cpp@@ -68,12 +68,6 @@ void Thread::Stop() {owner_process->FreeTLSSlot(tls_address);}-void ExitCurrentThread() {- Thread* thread = GetCurrentThread();- thread->Stop();- Core::System::GetInstance().CurrentScheduler().RemoveThread(thread);-}-void Thread::WakeAfterDelay(s64 nanoseconds) {// Don't schedule a wakeup if the thread wants to wait foreverif (nanoseconds == -1)