[Kernel] Fixed NtYieldExecution

Fixed Ninja Gaiden 3 stuck exiting challenge trials
This commit is contained in:
Adrian
2025-10-16 20:13:29 +01:00
committed by Radosław Gliński
parent 2cd35e8dd6
commit 38ad9bf342

View File

@@ -425,8 +425,7 @@ DECLARE_XBOXKRNL_EXPORT3(KeDelayExecutionThread, kThreading, kImplemented,
kBlocking, kHighFrequency);
dword_result_t NtYieldExecution_entry() {
auto thread = XThread::GetCurrentThread();
thread->Delay(0, 0, 0);
xe::threading::MaybeYield();
return 0;
}
DECLARE_XBOXKRNL_EXPORT2(NtYieldExecution, kThreading, kImplemented,