VERY experimental Nintendo Switch 2 emulator
C++
hle: kernel: k_spin_lock: Remove unused ThreadPause.
bunnei13b1ee76797d
diff --git a/src/core/hle/kernel/k_spin_lock.cpp b/src/core/hle/kernel/k_spin_lock.cppindex 4df2e5c1aa..527ff0f9fe 100644--- a/src/core/hle/kernel/k_spin_lock.cpp+++ b/src/core/hle/kernel/k_spin_lock.cpp@@ -4,34 +4,6 @@#include "core/hle/kernel/k_spin_lock.h"-#if _MSC_VER-#include <intrin.h>-#if _M_AMD64-#define __x86_64__ 1-#endif-#if _M_ARM64-#define __aarch64__ 1-#endif-#else-#if __x86_64__-#include <xmmintrin.h>-#endif-#endif--namespace {--void ThreadPause() {-#if __x86_64__- _mm_pause();-#elif __aarch64__ && _MSC_VER- __yield();-#elif __aarch64__- asm("yield");-#endif-}--} // namespace-namespace Kernel {void KSpinLock::Lock() {