diff options
| author | archshift <admin@archshift.com> | 2014-11-10 22:41:17 -0800 |
|---|---|---|
| committer | archshift <admin@archshift.com> | 2014-11-10 22:43:45 -0800 |
| commit | 37e582c395afafecb3217c2ce640a67e5e469864 (patch) | |
| tree | bc092b2ef5ce773a7d28d042baa8c536da4deffd /src/core/hle/service/frd_u.cpp | |
| parent | 1aa29b2b6cae4bde3a5de22a06a9078934235778 (diff) | |
Add FRD:U service and functions
Diffstat (limited to 'src/core/hle/service/frd_u.cpp')
| -rw-r--r-- | src/core/hle/service/frd_u.cpp | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/src/core/hle/service/frd_u.cpp b/src/core/hle/service/frd_u.cpp new file mode 100644 index 000000000..58023e536 --- /dev/null +++ b/src/core/hle/service/frd_u.cpp @@ -0,0 +1,35 @@ +// Copyright 2014 Citra Emulator Project +// Licensed under GPLv2 +// Refer to the license.txt file included. + +#include "common/log.h" +#include "core/hle/hle.h" +#include "core/hle/service/frd_u.h" + +//////////////////////////////////////////////////////////////////////////////////////////////////// +// Namespace FRD_U + +namespace FRD_U { + + const Interface::FunctionInfo FunctionTable[] = { + {0x00050000, nullptr, "GetFriendKey"}, + {0x00080000, nullptr, "GetMyPresence"}, + {0x00100040, nullptr, "GetPassword"}, + {0x00190042, nullptr, "GetFriendFavoriteGame"}, + {0x001A00C4, nullptr, "GetFriendInfo"}, + {0x001B0080, nullptr, "IsOnFriendList"}, + {0x001C0042, nullptr, "DecodeLocalFriendCode"}, + {0x001D0002, nullptr, "SetCurrentlyPlayingText"}, + {0x00320042, nullptr, "SetClientSdkVersion"} + }; + //////////////////////////////////////////////////////////////////////////////////////////////////// + // Interface class + + Interface::Interface() { + Register(FunctionTable, ARRAY_SIZE(FunctionTable)); + } + + Interface::~Interface() { + } + +} // namespace |
