mirror of
https://github.com/yuzu-mirror/yuzu
synced 2024-11-24 03:33:01 +00:00
added stubbed GetProcSemaphore - does nothing but avoids an exception
This commit is contained in:
parent
4faed70b40
commit
39ee75fc8d
1 changed files with 7 additions and 1 deletions
|
@ -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"},
|
||||
|
|
Loading…
Reference in a new issue