diff options
author | bunnei <ericbunnie@gmail.com> | 2014-05-27 02:55:48 +0200 |
---|---|---|
committer | bunnei <ericbunnie@gmail.com> | 2014-05-27 02:55:48 +0200 |
commit | 15d2ab1b33e8ef579d15bb6f20e6c625a58fb166 (patch) | |
tree | 9a9e91be33173dba5aebee0439ced8ef58317c8b /src | |
parent | core: added Kernel::Reschedule() call to check for thread changes, shortened delay time to 100 instructions (diff) | |
download | yuzu-15d2ab1b33e8ef579d15bb6f20e6c625a58fb166.tar yuzu-15d2ab1b33e8ef579d15bb6f20e6c625a58fb166.tar.gz yuzu-15d2ab1b33e8ef579d15bb6f20e6c625a58fb166.tar.bz2 yuzu-15d2ab1b33e8ef579d15bb6f20e6c625a58fb166.tar.lz yuzu-15d2ab1b33e8ef579d15bb6f20e6c625a58fb166.tar.xz yuzu-15d2ab1b33e8ef579d15bb6f20e6c625a58fb166.tar.zst yuzu-15d2ab1b33e8ef579d15bb6f20e6c625a58fb166.zip |
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) { return 0; } +/// Duplicates a kernel handle +Result DuplicateHandle(void* _out, Handle handle) { + Handle* out = (Handle*)_out; + DEBUG_LOG(SVC, "(UNIMPLEMENTED) DuplicateHandle called handle=0x%08X", handle); + return 0; +} + const HLE::FunctionDef SVC_Table[] = { {0x00, NULL, "Unknown"}, {0x01, WrapI_VUUUUU<ControlMemory>, "ControlMemory"}, @@ -266,7 +273,7 @@ const HLE::FunctionDef SVC_Table[] = { {0x24, WrapI_US64<WaitSynchronization1>, "WaitSynchronization1"}, {0x25, WrapI_VVUUS64<WaitSynchronizationN>, "WaitSynchronizationN"}, {0x26, NULL, "SignalAndWait"}, - {0x27, NULL, "DuplicateHandle"}, + {0x27, WrapI_VU<DuplicateHandle>, "DuplicateHandle"}, {0x28, NULL, "GetSystemTick"}, {0x29, NULL, "GetHandleInfo"}, {0x2A, NULL, "GetSystemInfo"}, |