summaryrefslogtreecommitdiff
path: root/src/core/hle/syscall.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/hle/syscall.cpp')
-rw-r--r--src/core/hle/syscall.cpp16
1 files changed, 13 insertions, 3 deletions
diff --git a/src/core/hle/syscall.cpp b/src/core/hle/syscall.cpp
index 0c78b19fb..728679378 100644
--- a/src/core/hle/syscall.cpp
+++ b/src/core/hle/syscall.cpp
@@ -104,10 +104,20 @@ Result CloseHandle(Handle handle) {
104} 104}
105 105
106/// Wait for a handle to synchronize, timeout after the specified nanoseconds 106/// Wait for a handle to synchronize, timeout after the specified nanoseconds
107Result WaitSynchronization1(Handle handle, s64 nanoseconds) { 107Result WaitSynchronization1(Handle handle, s64 nano_seconds) {
108 // ImplementMe 108 // ImplementMe
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, nanoseconds); 110 handle, nano_seconds);
111 return 0;
112}
113
114/// Wait for the given handles to synchronize, timeout after the specified nanoseconds
115Result WaitSynchronizationN(void* _out, void* _handles, u32 handle_count, u32 wait_all, s64 nano_seconds) {
116 s32* out = (s32*)_out;
117 Handle* handles = (Handle*)_handles;
118 // ImplementMe
119 DEBUG_LOG(SVC, "(UNIMPLEMENTED) WaitSynchronizationN called handle_count=%d, wait_all=%d, nanoseconds=%d",
120 handle_count, wait_all, nano_seconds);
111 return 0; 121 return 0;
112} 122}
113 123
@@ -226,7 +236,7 @@ const HLE::FunctionDef Syscall_Table[] = {
226 {0x22, NULL, "ArbitrateAddress"}, 236 {0x22, NULL, "ArbitrateAddress"},
227 {0x23, WrapI_U<CloseHandle>, "CloseHandle"}, 237 {0x23, WrapI_U<CloseHandle>, "CloseHandle"},
228 {0x24, WrapI_US64<WaitSynchronization1>, "WaitSynchronization1"}, 238 {0x24, WrapI_US64<WaitSynchronization1>, "WaitSynchronization1"},
229 {0x25, NULL, "WaitSynchronizationN"}, 239 {0x25, WrapI_VVUUS64<WaitSynchronizationN>, "WaitSynchronizationN"},
230 {0x26, NULL, "SignalAndWait"}, 240 {0x26, NULL, "SignalAndWait"},
231 {0x27, NULL, "DuplicateHandle"}, 241 {0x27, NULL, "DuplicateHandle"},
232 {0x28, NULL, "GetSystemTick"}, 242 {0x28, NULL, "GetSystemTick"},