summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Subv2014-12-13 13:43:01 -0500
committerGravatar Subv2014-12-13 13:43:01 -0500
commit1051795c329345ac6e08ac1d19024f56568b762d (patch)
tree4cd62aa7394c5b516cc00cb60c2e49a90d6bf14a
parentKernel/Semaphore: Small style change (diff)
downloadyuzu-1051795c329345ac6e08ac1d19024f56568b762d.tar.gz
yuzu-1051795c329345ac6e08ac1d19024f56568b762d.tar.xz
yuzu-1051795c329345ac6e08ac1d19024f56568b762d.zip
Kernel/Semaphores: Fixed build
-rw-r--r--src/core/hle/svc.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/svc.cpp b/src/core/hle/svc.cpp
index 2846bb482..f3595096e 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) {
292/// Creates a semaphore 292/// Creates a semaphore
293static Result CreateSemaphore(Handle* semaphore, s32 initial_count, s32 max_count) { 293static Result CreateSemaphore(Handle* semaphore, s32 initial_count, s32 max_count) {
294 ResultCode res = Kernel::CreateSemaphore(semaphore, initial_count, max_count); 294 ResultCode res = Kernel::CreateSemaphore(semaphore, initial_count, max_count);
295 DEBUG_LOG(SVC, "called initial_count=%d, max_count=%d, created handle=0x%08X", 295 LOG_TRACE(Kernel_SVC, "called initial_count=%d, max_count=%d, created handle=0x%08X",
296 initial_count, max_count, *semaphore); 296 initial_count, max_count, *semaphore);
297 return res.raw; 297 return res.raw;
298} 298}
299 299
300/// Releases a certain number of slots in a semaphore 300/// Releases a certain number of slots in a semaphore
301static Result ReleaseSemaphore(s32* count, Handle semaphore, s32 release_count) { 301static Result ReleaseSemaphore(s32* count, Handle semaphore, s32 release_count) {
302 DEBUG_LOG(SVC, "called release_count=%d, handle=0x%08X", release_count, semaphore); 302 LOG_TRACE(Kernel_SVC, "called release_count=%d, handle=0x%08X", release_count, semaphore);
303 ResultCode res = Kernel::ReleaseSemaphore(count, semaphore, release_count); 303 ResultCode res = Kernel::ReleaseSemaphore(count, semaphore, release_count);
304 return res.raw; 304 return res.raw;
305} 305}