service: bcat: Address review issues

This commit is contained in:
Narr the Reg
2024-02-09 10:31:35 -06:00
parent 909f7eb3d2
commit 816d03f7d9
29 changed files with 153 additions and 144 deletions
+15 -15
View File
@@ -3,8 +3,8 @@
#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/bcat/news/service_creator.h"
#include "core/hle/service/bcat/service_creator.h"
#include "core/hle/service/server_manager.h"
namespace Service::BCAT {
@@ -13,24 +13,24 @@ void LoopProcess(Core::System& system) {
auto server_manager = std::make_unique<ServerManager>(system);
server_manager->RegisterNamedService("bcat:a",
std::make_shared<BcatInterface>(system, "bcat:a"));
std::make_shared<IServiceCreator>(system, "bcat:a"));
server_manager->RegisterNamedService("bcat:m",
std::make_shared<BcatInterface>(system, "bcat:m"));
std::make_shared<IServiceCreator>(system, "bcat:m"));
server_manager->RegisterNamedService("bcat:u",
std::make_shared<BcatInterface>(system, "bcat:u"));
std::make_shared<IServiceCreator>(system, "bcat:u"));
server_manager->RegisterNamedService("bcat:s",
std::make_shared<BcatInterface>(system, "bcat:s"));
std::make_shared<IServiceCreator>(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"));
"news:a", std::make_shared<News::IServiceCreator>(system, 0xffffffff, "news:a"));
server_manager->RegisterNamedService(
"news:p", std::make_shared<News::IServiceCreator>(system, 0x1, "news:p"));
server_manager->RegisterNamedService(
"news:c", std::make_shared<News::IServiceCreator>(system, 0x2, "news:c"));
server_manager->RegisterNamedService(
"news:v", std::make_shared<News::IServiceCreator>(system, 0x4, "news:v"));
server_manager->RegisterNamedService(
"news:m", std::make_shared<News::IServiceCreator>(system, 0xd, "news:m"));
ServerManager::RunServer(std::move(server_manager));
}