diff options
Diffstat (limited to 'src/core/hle/hle_syscall.cpp')
| -rw-r--r-- | src/core/hle/hle_syscall.cpp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/core/hle/hle_syscall.cpp b/src/core/hle/hle_syscall.cpp index c8a516848..b17a2e220 100644 --- a/src/core/hle/hle_syscall.cpp +++ b/src/core/hle/hle_syscall.cpp | |||
| @@ -7,16 +7,18 @@ | |||
| 7 | 7 | ||
| 8 | //////////////////////////////////////////////////////////////////////////////////////////////////// | 8 | //////////////////////////////////////////////////////////////////////////////////////////////////// |
| 9 | 9 | ||
| 10 | 10 | typedef u32 Handle; | |
| 11 | typedef s32 Result; | ||
| 11 | 12 | ||
| 12 | Result SVC_ConnectToPort(void* out, const char* port_name) { | 13 | Result SVC_ConnectToPort(void* out, const char* port_name) { |
| 13 | NOTICE_LOG(OSHLE, "SVC_ConnectToPort called, port_name: %s", port_name); | 14 | NOTICE_LOG(OSHLE, "svcConnectToPort called, port_name: %s", port_name); |
| 14 | return 0; | 15 | return 0; |
| 15 | } | 16 | } |
| 16 | 17 | ||
| 17 | const SysCall SysCallTable[] = { | 18 | const HLEFunction SysCallTable[] = { |
| 18 | {0x2D, WrapI_VC<SVC_ConnectToPort>, "svcConnectToPort"}, | 19 | {0x2D, WrapI_VC<SVC_ConnectToPort>, "svcConnectToPort"}, |
| 19 | }; | 20 | }; |
| 20 | 21 | ||
| 21 | void Register_SysCalls() { | 22 | void Register_SysCall() { |
| 23 | HLE::RegisterModule("SysCallTable", ARRAY_SIZE(SysCallTable), SysCallTable); | ||
| 22 | } | 24 | } |