[Kernel] Add yield to XAudioGetVoiceCategoryVolumeChangeMask for games that spin threads with it.
This commit is contained in:
parent
8e9d50dd4a
commit
56dd07e329
|
@ -30,6 +30,8 @@ dword_result_t XAudioGetVoiceCategoryVolumeChangeMask(lpunknown_t driver_ptr,
|
||||||
lpdword_t out_ptr) {
|
lpdword_t out_ptr) {
|
||||||
assert_true((driver_ptr.guest_address() & 0xFFFF0000) == 0x41550000);
|
assert_true((driver_ptr.guest_address() & 0xFFFF0000) == 0x41550000);
|
||||||
|
|
||||||
|
xe::threading::MaybeYield();
|
||||||
|
|
||||||
// Checking these bits to see if any voice volume changed.
|
// Checking these bits to see if any voice volume changed.
|
||||||
// I think.
|
// I think.
|
||||||
*out_ptr = 0;
|
*out_ptr = 0;
|
||||||
|
|
Loading…
Reference in New Issue