mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2026-11-13 09:38:47 +01:00
Sleep OpenAL thread (#313)
This commit is contained in:
1 parent
ce96a45685
commit
b92189cb71
1 file changed
+2
-1
@@ -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);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user