diff options
author | Lioncash <mathew1800@gmail.com> | 2018-10-19 09:46:01 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2018-10-19 09:46:18 +0200 |
commit | d0cda7fe402608edb2e692cf4fff5ce1a795a728 (patch) | |
tree | 72435b0d80b888d0795288f18b5336f158fa5de3 /src/core | |
parent | ns: Update service function table (diff) | |
download | yuzu-d0cda7fe402608edb2e692cf4fff5ce1a795a728.tar yuzu-d0cda7fe402608edb2e692cf4fff5ce1a795a728.tar.gz yuzu-d0cda7fe402608edb2e692cf4fff5ce1a795a728.tar.bz2 yuzu-d0cda7fe402608edb2e692cf4fff5ce1a795a728.tar.lz yuzu-d0cda7fe402608edb2e692cf4fff5ce1a795a728.tar.xz yuzu-d0cda7fe402608edb2e692cf4fff5ce1a795a728.tar.zst yuzu-d0cda7fe402608edb2e692cf4fff5ce1a795a728.zip |
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/hle/service/nim/nim.cpp | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/core/hle/service/nim/nim.cpp b/src/core/hle/service/nim/nim.cpp index 261ad539c..18091c9bb 100644 --- a/src/core/hle/service/nim/nim.cpp +++ b/src/core/hle/service/nim/nim.cpp @@ -71,6 +71,22 @@ public: } }; +class NIM_ECA final : public ServiceFramework<NIM_ECA> { +public: + explicit NIM_ECA() : ServiceFramework{"nim:eca"} { + // clang-format off + static const FunctionInfo functions[] = { + {0, nullptr, "CreateServerInterface"}, + {1, nullptr, "RefreshDebugAvailability"}, + {2, nullptr, "ClearDebugResponse"}, + {3, nullptr, "RegisterDebugResponse"}, + }; + // clang-format on + + RegisterHandlers(functions); + } +}; + class NIM_SHP final : public ServiceFramework<NIM_SHP> { public: explicit NIM_SHP() : ServiceFramework{"nim:shp"} { @@ -214,6 +230,7 @@ private: void InstallInterfaces(SM::ServiceManager& sm) { std::make_shared<NIM>()->InstallAsService(sm); + std::make_shared<NIM_ECA>()->InstallAsService(sm); std::make_shared<NIM_SHP>()->InstallAsService(sm); std::make_shared<NTC>()->InstallAsService(sm); } |