mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-07-31 01:59:59 -06:00
Sleep OpenAL thread (#313)
This commit is contained in:
@ -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);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user