fix calls to svcSetThreadActivity

This commit is contained in:
Michael Scire 2020-03-29 05:29:46 -07:00
parent 8cb915a1d1
commit c63ee6c5f5

View File

@ -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) {