mirror of
https://github.com/switchbrew/libnx.git
synced 2025-07-04 10:32:15 +02:00
fix calls to svcSetThreadActivity
This commit is contained in:
parent
8cb915a1d1
commit
c63ee6c5f5
@ -219,11 +219,11 @@ Result threadClose(Thread* t) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
Result threadPause(Thread* t) {
|
Result threadPause(Thread* t) {
|
||||||
return svcSetThreadActivity(t->handle, 1);
|
return svcSetThreadActivity(t->handle, ThreadActivity_Paused);
|
||||||
}
|
}
|
||||||
|
|
||||||
Result threadResume(Thread* t) {
|
Result threadResume(Thread* t) {
|
||||||
return svcSetThreadActivity(t->handle, 0);
|
return svcSetThreadActivity(t->handle, ThreadActivity_Runnable);
|
||||||
}
|
}
|
||||||
|
|
||||||
Result threadDumpContext(ThreadContext* ctx, Thread* t) {
|
Result threadDumpContext(ThreadContext* ctx, Thread* t) {
|
||||||
|
Loading…
Reference in New Issue
Block a user