summaryrefslogtreecommitdiffstats
path: root/src/core/hle/hle_syscall.cpp
diff options
context:
space:
mode:
authorbunnei <ericbunnie@gmail.com>2014-04-11 03:30:00 +0200
committerbunnei <ericbunnie@gmail.com>2014-04-11 03:30:00 +0200
commit2a7d7ce55d51a1cf893d14e893b87941df4a2f03 (patch)
treed9e4d6d2dfe28d0ddc32de6775d79ef002eea62e /src/core/hle/hle_syscall.cpp
parentMerge branch 'master' into hle-interface (diff)
downloadyuzu-2a7d7ce55d51a1cf893d14e893b87941df4a2f03.tar
yuzu-2a7d7ce55d51a1cf893d14e893b87941df4a2f03.tar.gz
yuzu-2a7d7ce55d51a1cf893d14e893b87941df4a2f03.tar.bz2
yuzu-2a7d7ce55d51a1cf893d14e893b87941df4a2f03.tar.lz
yuzu-2a7d7ce55d51a1cf893d14e893b87941df4a2f03.tar.xz
yuzu-2a7d7ce55d51a1cf893d14e893b87941df4a2f03.tar.zst
yuzu-2a7d7ce55d51a1cf893d14e893b87941df4a2f03.zip
Diffstat (limited to '')
-rw-r--r--src/core/hle/hle_syscall.cpp10
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 @@
////////////////////////////////////////////////////////////////////////////////////////////////////
-
+typedef u32 Handle;
+typedef s32 Result;
Result SVC_ConnectToPort(void* out, const char* port_name) {
- NOTICE_LOG(OSHLE, "SVC_ConnectToPort called, port_name: %s", port_name);
+ NOTICE_LOG(OSHLE, "svcConnectToPort called, port_name: %s", port_name);
return 0;
}
-const SysCall SysCallTable[] = {
+const HLEFunction SysCallTable[] = {
{0x2D, WrapI_VC<SVC_ConnectToPort>, "svcConnectToPort"},
};
-void Register_SysCalls() {
+void Register_SysCall() {
+ HLE::RegisterModule("SysCallTable", ARRAY_SIZE(SysCallTable), SysCallTable);
}