mirror of
https://github.com/skyline-emu/skyline.git
synced 2025-01-03 19:51:53 +01:00
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.
This commit is contained in:
parent
0cc2eede22
commit
2cdff40bcb
@ -727,6 +727,7 @@ namespace skyline::kernel::svc {
|
|||||||
try {
|
try {
|
||||||
std::unique_lock lock(type::KSyncObject::syncObjectMutex);
|
std::unique_lock lock(type::KSyncObject::syncObjectMutex);
|
||||||
auto thread{state.process->GetHandle<type::KThread>(state.ctx->gpr.w0)};
|
auto thread{state.process->GetHandle<type::KThread>(state.ctx->gpr.w0)};
|
||||||
|
Logger::Debug("Cancelling Synchronization {}", thread->id);
|
||||||
thread->cancelSync = true;
|
thread->cancelSync = true;
|
||||||
if (thread->isCancellable) {
|
if (thread->isCancellable) {
|
||||||
thread->isCancellable = false;
|
thread->isCancellable = false;
|
||||||
|
Loading…
Reference in New Issue
Block a user