[Kernel] Restored yield in XAudioGetVoiceCategoryVolumeChangeMask
Thanks to latest change there is no need to use hardcoded nanosleep, so we can go back to previous stuff. Hopefully it will fix some random issues with audio introduced lately
This commit is contained in:
@@ -32,7 +32,7 @@ dword_result_t XAudioGetVoiceCategoryVolumeChangeMask_entry(
|
||||
lpunknown_t driver_ptr, lpdword_t out_ptr) {
|
||||
assert_true((driver_ptr.guest_address() & 0xFFFF0000) == 0x41550000);
|
||||
|
||||
xe::threading::NanoSleep(1000);
|
||||
xe::threading::MaybeYield();
|
||||
|
||||
// Checking these bits to see if any voice volume changed.
|
||||
// I think.
|
||||
|
||||
Reference in New Issue
Block a user