[Kernel] Replaced Yield in XAudioGetVoiceCategoryVolumeChangeMask with NanoSleep

- Removed Yield in XamUserGetSigninState
This commit is contained in:
Gliniak
2026-01-31 21:05:05 +01:00
committed by Radosław Gliński
parent 56cff3a09a
commit 8f5da619f9
2 changed files with 1 additions and 3 deletions

View File

@@ -88,8 +88,6 @@ dword_result_t XamUserGetIndexFromXUID_entry(qword_t xuid, dword_t flags,
DECLARE_XAM_EXPORT1(XamUserGetIndexFromXUID, kUserProfiles, kImplemented);
dword_result_t XamUserGetSigninState_entry(dword_t user_index) {
// Yield, as some games spam this.
xe::threading::MaybeYield();
uint32_t signin_state = 0;
if (user_index >= XUserMaxUserCount) {
return signin_state;

View File

@@ -30,7 +30,7 @@ dword_result_t XAudioGetVoiceCategoryVolumeChangeMask_entry(
lpunknown_t driver_ptr, lpdword_t out_ptr) {
assert_true((driver_ptr.guest_address() & 0xFFFF0000) == 0x41550000);
xe::threading::MaybeYield();
xe::threading::NanoSleep(1000);
// Checking these bits to see if any voice volume changed.
// I think.