summaryrefslogtreecommitdiffstats
path: root/src/core/hle/svc.cpp
diff options
context:
space:
mode:
authorwwylele <wwylele@gmail.com>2016-12-17 12:08:38 +0100
committerwwylele <wwylele@gmail.com>2016-12-17 18:23:52 +0100
commit5728e42634740463ba2da4758d817ad09a84dc60 (patch)
tree61df2f8ed57ff935c1ac018a64f86d683df45c1e /src/core/hle/svc.cpp
parentMerge pull request #2335 from yuriks/shader-refactor (diff)
downloadyuzu-5728e42634740463ba2da4758d817ad09a84dc60.tar
yuzu-5728e42634740463ba2da4758d817ad09a84dc60.tar.gz
yuzu-5728e42634740463ba2da4758d817ad09a84dc60.tar.bz2
yuzu-5728e42634740463ba2da4758d817ad09a84dc60.tar.lz
yuzu-5728e42634740463ba2da4758d817ad09a84dc60.tar.xz
yuzu-5728e42634740463ba2da4758d817ad09a84dc60.tar.zst
yuzu-5728e42634740463ba2da4758d817ad09a84dc60.zip
Diffstat (limited to '')
-rw-r--r--src/core/hle/svc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/svc.cpp b/src/core/hle/svc.cpp
index ef25acc4a..5839d7230 100644
--- a/src/core/hle/svc.cpp
+++ b/src/core/hle/svc.cpp
@@ -584,7 +584,7 @@ static ResultCode CreateThread(Handle* out_handle, s32 priority, u32 entry_point
static void ExitThread() {
LOG_TRACE(Kernel_SVC, "called, pc=0x%08X", Core::g_app_core->GetPC());
- Kernel::GetCurrentThread()->Stop();
+ Kernel::ExitCurrentThread();
}
/// Gets the priority for the specified thread