mirror of
https://github.com/xenia-project/xenia.git
synced 2025-12-06 07:12:03 +01:00
Adding a yield in the XMA decoder to give other threads some breathing room.
This commit is contained in:
parent
e7b46afa9d
commit
1cf1568189
|
|
@ -140,6 +140,7 @@ void XmaDecoder::WorkerThreadMain() {
|
|||
// registers_.current_context = n;
|
||||
// registers_.next_context = (n + 1) % kContextCount;
|
||||
}
|
||||
xe::threading::MaybeYield();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue