From 24d7aaf43c6b243f7123401545527ed7a25a3f26 Mon Sep 17 00:00:00 2001 From: Liam Date: Sat, 18 Jun 2022 16:54:33 -0400 Subject: kernel: wait for threads to stop on pause --- src/core/hle/kernel/k_thread.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/core/hle/kernel/k_thread.h') diff --git a/src/core/hle/kernel/k_thread.h b/src/core/hle/kernel/k_thread.h index f4d83f99a..8c1f8a344 100644 --- a/src/core/hle/kernel/k_thread.h +++ b/src/core/hle/kernel/k_thread.h @@ -207,6 +207,8 @@ public: void Continue(); + void WaitUntilSuspended(); + constexpr void SetSyncedIndex(s32 index) { synced_index = index; } -- cgit v1.2.3