mirror of
https://git.743378673.xyz/MeloNX/MeloNX.git
synced 2025-08-02 03:57:10 +02:00
Sleep OpenAL thread (#313)
This commit is contained in:
parent
10a4270b49
commit
024bd713b7
1 changed files with 2 additions and 1 deletions
|
@ -222,7 +222,8 @@ namespace Ryujinx.Audio.OpenAL
|
|||
Td.CallReleaseCallbackIfNeeded();
|
||||
}
|
||||
|
||||
Thread.Yield();
|
||||
//If it's not slept it will waste cycles
|
||||
Thread.Sleep(10);
|
||||
}
|
||||
while (KeepPolling);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue