VERY experimental Nintendo Switch 2 emulator
C++
SVC: SleepThread should yield to the next ready thread.
bunneie0e744351795
diff --git a/src/core/hle/svc.cpp b/src/core/hle/svc.cppindex 87d7688567..48c8dee1ee 100644--- a/src/core/hle/svc.cpp+++ b/src/core/hle/svc.cpp@@ -331,6 +331,9 @@ static Result ClearEvent(Handle evt) {/// Sleep the current threadstatic void SleepThread(s64 nanoseconds) {DEBUG_LOG(SVC, "called nanoseconds=%lld", nanoseconds);++ // Check for next thread to schedule+ HLE::Reschedule(__func__);}/// This returns the total CPU ticks elapsed since the CPU was powered-on