Files
eden/src/core/hle/service/bcat/bcat.cpp
T

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

39 lines
1.8 KiB
C++
Raw Normal View History

// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
2018-05-28 16:36:38 +03:00
#include "core/hle/service/bcat/backend/backend.h"
2018-05-28 16:36:38 +03:00
#include "core/hle/service/bcat/bcat.h"
2024-02-09 10:31:35 -06:00
#include "core/hle/service/bcat/news/service_creator.h"
#include "core/hle/service/bcat/service_creator.h"
#include "core/hle/service/server_manager.h"
2018-05-28 16:36:38 +03:00
namespace Service::BCAT {
void LoopProcess(Core::System& system) {
auto server_manager = std::make_unique<ServerManager>(system);
server_manager->RegisterNamedService("bcat:a",
2024-02-09 10:31:35 -06:00
std::make_shared<IServiceCreator>(system, "bcat:a"));
server_manager->RegisterNamedService("bcat:m",
2024-02-09 10:31:35 -06:00
std::make_shared<IServiceCreator>(system, "bcat:m"));
server_manager->RegisterNamedService("bcat:u",
2024-02-09 10:31:35 -06:00
std::make_shared<IServiceCreator>(system, "bcat:u"));
server_manager->RegisterNamedService("bcat:s",
2024-02-09 10:31:35 -06:00
std::make_shared<IServiceCreator>(system, "bcat:s"));
2024-02-08 22:48:53 -06:00
server_manager->RegisterNamedService(
2024-02-09 10:31:35 -06:00
"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"));
2024-02-08 22:48:53 -06:00
ServerManager::RunServer(std::move(server_manager));
2018-05-28 16:36:38 +03:00
}
2018-05-28 16:36:38 +03:00
} // namespace Service::BCAT