summaryrefslogtreecommitdiff
path: root/src/core/hle/svc.cpp
diff options
context:
space:
mode:
authorGravatar bunnei2014-05-22 19:36:56 -0400
committerGravatar bunnei2014-05-22 19:36:56 -0400
commitb99ac2c3d67e2bcaa2c6eac220f1e93f4576c4fe (patch)
treedf05518971810d04f48a9e38505e487b5d29c323 /src/core/hle/svc.cpp
parentthread: removed unused SwitchContext/Reschedule reason field, added missing a... (diff)
downloadyuzu-b99ac2c3d67e2bcaa2c6eac220f1e93f4576c4fe.tar.gz
yuzu-b99ac2c3d67e2bcaa2c6eac220f1e93f4576c4fe.tar.xz
yuzu-b99ac2c3d67e2bcaa2c6eac220f1e93f4576c4fe.zip
thread: renamed "WaitCurThread" to "WaitCurrentThread", removed unused "reason" argument
Diffstat (limited to 'src/core/hle/svc.cpp')
-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 b1854a36e..8018a43a2 100644
--- a/src/core/hle/svc.cpp
+++ b/src/core/hle/svc.cpp
@@ -108,7 +108,7 @@ Result CloseHandle(Handle handle) {
108Result WaitSynchronization1(Handle handle, s64 nano_seconds) { 108Result WaitSynchronization1(Handle handle, s64 nano_seconds) {
109 DEBUG_LOG(SVC, "(UNIMPLEMENTED) WaitSynchronization1 called handle=0x%08X, nanoseconds=%d", 109 DEBUG_LOG(SVC, "(UNIMPLEMENTED) WaitSynchronization1 called handle=0x%08X, nanoseconds=%d",
110 handle, nano_seconds); 110 handle, nano_seconds);
111 Kernel::WaitCurThread(WAITTYPE_SYNCH, "WaitSynchronization1"); // TODO(bunnei): Is this correct? 111 Kernel::WaitCurrentThread(WAITTYPE_SYNCH); // TODO(bunnei): Is this correct?
112 return 0; 112 return 0;
113} 113}
114 114
@@ -123,7 +123,7 @@ Result WaitSynchronizationN(void* _out, void* _handles, u32 handle_count, u32 wa
123 for (u32 i = 0; i < handle_count; i++) { 123 for (u32 i = 0; i < handle_count; i++) {
124 DEBUG_LOG(SVC, "\thandle[%d]=0x%08X", i, handles[i]); 124 DEBUG_LOG(SVC, "\thandle[%d]=0x%08X", i, handles[i]);
125 } 125 }
126 Kernel::WaitCurThread(WAITTYPE_SYNCH, "WaitSynchronizationN"); // TODO(bunnei): Is this correct? 126 Kernel::WaitCurrentThread(WAITTYPE_SYNCH); // TODO(bunnei): Is this correct?
127 return 0; 127 return 0;
128} 128}
129 129