From 2cdff40bcb552369a3faf8cac2447334c76b2a4c Mon Sep 17 00:00:00 2001 From: PixelyIon Date: Sun, 5 Feb 2023 18:07:11 +0530 Subject: [PATCH] Add debug log for SVC `CancelSynchronization` This SVC was missing a log which makes it harder to trace issues to it, it has been added to assist with future debugging. --- app/src/main/cpp/skyline/kernel/svc.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/cpp/skyline/kernel/svc.cpp b/app/src/main/cpp/skyline/kernel/svc.cpp index b58ffd67..337c5014 100644 --- a/app/src/main/cpp/skyline/kernel/svc.cpp +++ b/app/src/main/cpp/skyline/kernel/svc.cpp @@ -727,6 +727,7 @@ namespace skyline::kernel::svc { try { std::unique_lock lock(type::KSyncObject::syncObjectMutex); auto thread{state.process->GetHandle(state.ctx->gpr.w0)}; + Logger::Debug("Cancelling Synchronization {}", thread->id); thread->cancelSync = true; if (thread->isCancellable) { thread->isCancellable = false;