diff options
Diffstat (limited to 'src/core/hle/service/bcat/bcat.cpp')
-rw-r--r-- | src/core/hle/service/bcat/bcat.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/core/hle/service/bcat/bcat.cpp b/src/core/hle/service/bcat/bcat.cpp index 31e9d8662..02995ddee 100644 --- a/src/core/hle/service/bcat/bcat.cpp +++ b/src/core/hle/service/bcat/bcat.cpp @@ -4,6 +4,7 @@ #include "core/hle/service/bcat/backend/backend.h" #include "core/hle/service/bcat/bcat.h" #include "core/hle/service/bcat/bcat_interface.h" +#include "core/hle/service/bcat/news/news_interface.h" #include "core/hle/service/server_manager.h" namespace Service::BCAT { @@ -20,6 +21,17 @@ void LoopProcess(Core::System& system) { server_manager->RegisterNamedService("bcat:s", std::make_shared<BcatInterface>(system, "bcat:s")); + server_manager->RegisterNamedService( + "news:a", std::make_shared<NewsInterface>(system, 0xffffffff, "news:a")); + server_manager->RegisterNamedService("news:p", + std::make_shared<NewsInterface>(system, 0x1, "news:p")); + server_manager->RegisterNamedService("news:c", + std::make_shared<NewsInterface>(system, 0x2, "news:c")); + server_manager->RegisterNamedService("news:v", + std::make_shared<NewsInterface>(system, 0x4, "news:v")); + server_manager->RegisterNamedService("news:m", + std::make_shared<NewsInterface>(system, 0xd, "news:m")); + ServerManager::RunServer(std::move(server_manager)); } |