diff options
author | Narr the Reg <juangerman-13@hotmail.com> | 2024-02-09 05:48:53 +0100 |
---|---|---|
committer | Narr the Reg <juangerman-13@hotmail.com> | 2024-02-10 07:23:22 +0100 |
commit | 909f7eb3d2d54050af667e7638171c0cc50c8f90 (patch) | |
tree | 10483ede13ae58af40d874210d8dd46547f52d3c /src/core/hle/service/bcat/bcat.cpp | |
parent | service: bcat: Migrate and refractor service to new IPC (diff) | |
download | yuzu-909f7eb3d2d54050af667e7638171c0cc50c8f90.tar yuzu-909f7eb3d2d54050af667e7638171c0cc50c8f90.tar.gz yuzu-909f7eb3d2d54050af667e7638171c0cc50c8f90.tar.bz2 yuzu-909f7eb3d2d54050af667e7638171c0cc50c8f90.tar.lz yuzu-909f7eb3d2d54050af667e7638171c0cc50c8f90.tar.xz yuzu-909f7eb3d2d54050af667e7638171c0cc50c8f90.tar.zst yuzu-909f7eb3d2d54050af667e7638171c0cc50c8f90.zip |
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)); } |