Add svcSetThreadPriority
This commit is contained in:
parent
c75ed65d8b
commit
ac0e9ef9ca
@ -76,5 +76,6 @@ s32 svcConnectToPort(volatile Handle* out, const char* portName);
|
||||
s32 svcSendSyncRequest(Handle session);
|
||||
s32 svcGetProcessId(u32 *out, Handle handle);
|
||||
s32 svcOutputDebugString(const char* str, int length);
|
||||
s32 svcSetThreadPriority(Handle thread, s32 prio);
|
||||
|
||||
#endif
|
||||
|
@ -259,6 +259,12 @@ svcGetProcessId:
|
||||
str r1, [r3]
|
||||
bx lr
|
||||
|
||||
.global svcSetThreadPriority
|
||||
.type svcSetThreadPriority, %function
|
||||
svcSetThreadPriority:
|
||||
svc 0x0C
|
||||
bx lr
|
||||
|
||||
.global svcOutputDebugString
|
||||
.type svcOutputDebugString, %function
|
||||
svcOutputDebugString:
|
||||
@ -267,4 +273,3 @@ svcOutputDebugString:
|
||||
ldr r2, [sp], #4
|
||||
str r1, [r2]
|
||||
bx lr
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user