ReinUsesLisp 7 лет назад
Родитель
Сommit
b92189cb71
1 измененных файлов с 2 добавлено и 1 удалено
  1. 2 1
      Ryujinx.Audio/OpenAL/OpenALAudioOut.cs

+ 2 - 1
Ryujinx.Audio/OpenAL/OpenALAudioOut.cs

@@ -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);
         }
         }