|
|
|
@ -27,6 +27,18 @@ Result SendSyncRequest(Handle session) { |
|
|
|
return 0; |
|
|
|
} |
|
|
|
|
|
|
|
/// Close a handle
|
|
|
|
Result CloseHandle(Handle handle) { |
|
|
|
// ImplementMe
|
|
|
|
return 0; |
|
|
|
} |
|
|
|
|
|
|
|
/// Wait for a handle to synchronize, timeout after the specified nanoseconds
|
|
|
|
Result WaitSynchronization1(Handle handle, s64 nanoseconds) { |
|
|
|
// ImplementMe
|
|
|
|
return 0; |
|
|
|
} |
|
|
|
|
|
|
|
const HLE::FunctionDef Syscall_Table[] = { |
|
|
|
{0x00, NULL, "Unknown"}, |
|
|
|
{0x01, NULL, "ControlMemory"}, |
|
|
|
@ -63,8 +75,8 @@ const HLE::FunctionDef Syscall_Table[] = { |
|
|
|
{0x20, NULL, "UnmapMemoryBlock"}, |
|
|
|
{0x21, NULL, "CreateAddressArbiter"}, |
|
|
|
{0x22, NULL, "ArbitrateAddress"}, |
|
|
|
{0x23, NULL, "CloseHandle"}, |
|
|
|
{0x24, NULL, "WaitSynchronization1"}, |
|
|
|
{0x23, WrapI_U<CloseHandle>, "CloseHandle"}, |
|
|
|
{0x24, WrapI_US64<WaitSynchronization1>, "WaitSynchronization1"}, |
|
|
|
{0x25, NULL, "WaitSynchronizationN"}, |
|
|
|
{0x26, NULL, "SignalAndWait"}, |
|
|
|
{0x27, NULL, "DuplicateHandle"}, |
|
|
|
|