Sleep OpenAL thread (#313)

pull/312/merge
ReinUsesLisp 2018-08-01 00:48:49 -03:00 committed by gdkchan
parent ce96a45685
commit b92189cb71
1 changed files with 2 additions and 1 deletions

View File

@ -222,7 +222,8 @@ namespace Ryujinx.Audio.OpenAL
Td.CallReleaseCallbackIfNeeded(); Td.CallReleaseCallbackIfNeeded();
} }
Thread.Yield(); //If it's not slept it will waste cycles
Thread.Sleep(10);
} }
while (KeepPolling); while (KeepPolling);
} }