Skip to content

VERY experimental Nintendo Switch 2 emulator

C++

Kernel/Semaphores: Fixed build

Subv1051795c3293
diff --git a/src/core/hle/svc.cpp b/src/core/hle/svc.cpp
index 2846bb4826..f3595096e6 100644
--- a/src/core/hle/svc.cpp
+++ b/src/core/hle/svc.cpp
@@ -292,14 +292,14 @@ static Result GetThreadId(u32* thread_id, Handle handle) {
/// Creates a semaphore
static Result CreateSemaphore(Handle* semaphore, s32 initial_count, s32 max_count) {
ResultCode res = Kernel::CreateSemaphore(semaphore, initial_count, max_count);
- DEBUG_LOG(SVC, "called initial_count=%d, max_count=%d, created handle=0x%08X",
+ LOG_TRACE(Kernel_SVC, "called initial_count=%d, max_count=%d, created handle=0x%08X",
initial_count, max_count, *semaphore);
return res.raw;
}
/// Releases a certain number of slots in a semaphore
static Result ReleaseSemaphore(s32* count, Handle semaphore, s32 release_count) {
- DEBUG_LOG(SVC, "called release_count=%d, handle=0x%08X", release_count, semaphore);
+ LOG_TRACE(Kernel_SVC, "called release_count=%d, handle=0x%08X", release_count, semaphore);
ResultCode res = Kernel::ReleaseSemaphore(count, semaphore, release_count);
return res.raw;
}