mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2025-06-15 03:47:58 -05:00
hle: kernel: Migrate to KScopedSchedulerLock.
This commit is contained in:
@ -171,7 +171,7 @@ ResultCode ServerSession::CompleteSyncRequest() {
|
||||
|
||||
// Some service requests require the thread to block
|
||||
{
|
||||
SchedulerLock lock(kernel);
|
||||
KScopedSchedulerLock lock(kernel);
|
||||
if (!context.IsThreadWaiting()) {
|
||||
context.GetThread().ResumeFromWait();
|
||||
context.GetThread().SetSynchronizationResults(nullptr, result);
|
||||
|
Reference in New Issue
Block a user