diff options
author | bunnei <ericbunnie@gmail.com> | 2014-05-23 01:36:56 +0200 |
---|---|---|
committer | bunnei <ericbunnie@gmail.com> | 2014-05-23 01:36:56 +0200 |
commit | b99ac2c3d67e2bcaa2c6eac220f1e93f4576c4fe (patch) | |
tree | df05518971810d04f48a9e38505e487b5d29c323 /src/core/hle/svc.cpp | |
parent | thread: removed unused SwitchContext/Reschedule reason field, added missing arg parameter to SVC CreateThread (diff) | |
download | yuzu-b99ac2c3d67e2bcaa2c6eac220f1e93f4576c4fe.tar yuzu-b99ac2c3d67e2bcaa2c6eac220f1e93f4576c4fe.tar.gz yuzu-b99ac2c3d67e2bcaa2c6eac220f1e93f4576c4fe.tar.bz2 yuzu-b99ac2c3d67e2bcaa2c6eac220f1e93f4576c4fe.tar.lz yuzu-b99ac2c3d67e2bcaa2c6eac220f1e93f4576c4fe.tar.xz yuzu-b99ac2c3d67e2bcaa2c6eac220f1e93f4576c4fe.tar.zst yuzu-b99ac2c3d67e2bcaa2c6eac220f1e93f4576c4fe.zip |
Diffstat (limited to 'src/core/hle/svc.cpp')
-rw-r--r-- | src/core/hle/svc.cpp | 4 |
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) { Result WaitSynchronization1(Handle handle, s64 nano_seconds) { DEBUG_LOG(SVC, "(UNIMPLEMENTED) WaitSynchronization1 called handle=0x%08X, nanoseconds=%d", handle, nano_seconds); - Kernel::WaitCurThread(WAITTYPE_SYNCH, "WaitSynchronization1"); // TODO(bunnei): Is this correct? + Kernel::WaitCurrentThread(WAITTYPE_SYNCH); // TODO(bunnei): Is this correct? return 0; } @@ -123,7 +123,7 @@ Result WaitSynchronizationN(void* _out, void* _handles, u32 handle_count, u32 wa for (u32 i = 0; i < handle_count; i++) { DEBUG_LOG(SVC, "\thandle[%d]=0x%08X", i, handles[i]); } - Kernel::WaitCurThread(WAITTYPE_SYNCH, "WaitSynchronizationN"); // TODO(bunnei): Is this correct? + Kernel::WaitCurrentThread(WAITTYPE_SYNCH); // TODO(bunnei): Is this correct? return 0; } |