summaryrefslogtreecommitdiffstats
path: root/src/core/hle/hle_syscall.cpp
blob: fdcaa914fc09c4b041b45566f919838dc497cdbd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// Copyright 2014 Citra Emulator Project
// Licensed under GPLv2
// Refer to the license.txt file included.  

#include "core/hle/function_wrappers.h"
#include "core/hle/hle_syscall.h"

////////////////////////////////////////////////////////////////////////////////////////////////////

typedef u32 Handle;
typedef s32 Result;

Result SVC_ConnectToPort(void* out, const char* port_name) {
    NOTICE_LOG(OSHLE, "svcConnectToPort called, port_name: %s", port_name);
    return 0;
}

const HLE::FunctionDef SysCall_Table[] = {
    {0x2D, WrapI_VC<SVC_ConnectToPort>, "svcConnectToPort"},
};

void Register_SysCall() {
    HLE::RegisterModule("SysCallTable", ARRAY_SIZE(SysCall_Table), SysCall_Table);
}