VERY experimental Nintendo Switch 2 emulator
C++
nim: Add the basic skeleton of the nim:eca service
Lioncash48c8e17b992e
diff --git a/src/core/hle/service/nim/nim.cpp b/src/core/hle/service/nim/nim.cppindex 261ad539c3..18091c9bb0 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);}