diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/core/hle/svc.cpp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/core/hle/svc.cpp b/src/core/hle/svc.cpp index 90c05cb74..0c647b86f 100644 --- a/src/core/hle/svc.cpp +++ b/src/core/hle/svc.cpp | |||
| @@ -226,6 +226,13 @@ Result CreateEvent(void* _event, u32 reset_type) { | |||
| 226 | return 0; | 226 | return 0; |
| 227 | } | 227 | } |
| 228 | 228 | ||
| 229 | /// Duplicates a kernel handle | ||
| 230 | Result DuplicateHandle(void* _out, Handle handle) { | ||
| 231 | Handle* out = (Handle*)_out; | ||
| 232 | DEBUG_LOG(SVC, "(UNIMPLEMENTED) DuplicateHandle called handle=0x%08X", handle); | ||
| 233 | return 0; | ||
| 234 | } | ||
| 235 | |||
| 229 | const HLE::FunctionDef SVC_Table[] = { | 236 | const HLE::FunctionDef SVC_Table[] = { |
| 230 | {0x00, NULL, "Unknown"}, | 237 | {0x00, NULL, "Unknown"}, |
| 231 | {0x01, WrapI_VUUUUU<ControlMemory>, "ControlMemory"}, | 238 | {0x01, WrapI_VUUUUU<ControlMemory>, "ControlMemory"}, |
| @@ -266,7 +273,7 @@ const HLE::FunctionDef SVC_Table[] = { | |||
| 266 | {0x24, WrapI_US64<WaitSynchronization1>, "WaitSynchronization1"}, | 273 | {0x24, WrapI_US64<WaitSynchronization1>, "WaitSynchronization1"}, |
| 267 | {0x25, WrapI_VVUUS64<WaitSynchronizationN>, "WaitSynchronizationN"}, | 274 | {0x25, WrapI_VVUUS64<WaitSynchronizationN>, "WaitSynchronizationN"}, |
| 268 | {0x26, NULL, "SignalAndWait"}, | 275 | {0x26, NULL, "SignalAndWait"}, |
| 269 | {0x27, NULL, "DuplicateHandle"}, | 276 | {0x27, WrapI_VU<DuplicateHandle>, "DuplicateHandle"}, |
| 270 | {0x28, NULL, "GetSystemTick"}, | 277 | {0x28, NULL, "GetSystemTick"}, |
| 271 | {0x29, NULL, "GetHandleInfo"}, | 278 | {0x29, NULL, "GetHandleInfo"}, |
| 272 | {0x2A, NULL, "GetSystemInfo"}, | 279 | {0x2A, NULL, "GetSystemInfo"}, |