Even better way
This commit is contained in:
parent
977a5eb49d
commit
35d3d20d44
1 changed files with 1 additions and 6 deletions
|
@ -103,12 +103,7 @@ bool AudioBackend_Init(void)
|
|||
s32 priority = 0x30;
|
||||
svcGetThreadPriority(&priority, CUR_THREAD_HANDLE);
|
||||
|
||||
priority -= 1;
|
||||
|
||||
if (priority < 0x18)
|
||||
priority = 0x18;
|
||||
else if (priority > 0x3F)
|
||||
priority = 0x3F;
|
||||
priority = CLAMP(priority - 1, 0x18, 0x3F);
|
||||
|
||||
audio_thread_die = false;
|
||||
audio_thread = threadCreate(OrganyaThread, NULL, 32 * 1024, priority, -1, false);
|
||||
|
|
Loading…
Add table
Reference in a new issue