diff options
author | bunnei <ericbunnie@gmail.com> | 2014-05-17 05:25:16 +0200 |
---|---|---|
committer | bunnei <ericbunnie@gmail.com> | 2014-05-17 05:25:16 +0200 |
commit | 39ee75fc8d2a3291195448696f6a9bda8b1d58ad (patch) | |
tree | 5de9d50c1ddbe7411ff5f28a4070fe068274c440 /src/core/hle/service/srv.cpp | |
parent | add kernel.* and thread.* to VS filters (diff) | |
download | yuzu-39ee75fc8d2a3291195448696f6a9bda8b1d58ad.tar yuzu-39ee75fc8d2a3291195448696f6a9bda8b1d58ad.tar.gz yuzu-39ee75fc8d2a3291195448696f6a9bda8b1d58ad.tar.bz2 yuzu-39ee75fc8d2a3291195448696f6a9bda8b1d58ad.tar.lz yuzu-39ee75fc8d2a3291195448696f6a9bda8b1d58ad.tar.xz yuzu-39ee75fc8d2a3291195448696f6a9bda8b1d58ad.tar.zst yuzu-39ee75fc8d2a3291195448696f6a9bda8b1d58ad.zip |
Diffstat (limited to 'src/core/hle/service/srv.cpp')
-rw-r--r-- | src/core/hle/service/srv.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/core/hle/service/srv.cpp b/src/core/hle/service/srv.cpp index 071741444..303a943d4 100644 --- a/src/core/hle/service/srv.cpp +++ b/src/core/hle/service/srv.cpp @@ -16,6 +16,12 @@ void Initialize(Service::Interface* self) { NOTICE_LOG(OSHLE, "SRV::Sync - Initialize"); } +void GetProcSemaphore(Service::Interface* self) { + // Get process semaphore? + u32* cmd_buff = Service::GetCommandBuffer(); + cmd_buff[3] = 0xDEADBEEF; // Return something... 0 == NULL, raises an exception +} + void GetServiceHandle(Service::Interface* self) { Syscall::Result res = 0; u32* cmd_buff = Service::GetCommandBuffer(); @@ -39,7 +45,7 @@ void GetServiceHandle(Service::Interface* self) { const Interface::FunctionInfo FunctionTable[] = { {0x00010002, Initialize, "Initialize"}, - {0x00020000, NULL, "GetProcSemaphore"}, + {0x00020000, GetProcSemaphore, "GetProcSemaphore"}, {0x00030100, NULL, "RegisterService"}, {0x000400C0, NULL, "UnregisterService"}, {0x00050100, GetServiceHandle, "GetServiceHandle"}, |