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"
#include "core/hle/service/bcat/bcat_interface.h"
2024-02-08 22:48:53 -06:00
#include "core/hle/service/bcat/news/news_interface.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",
std::make_shared<BcatInterface>(system, "bcat:a"));
server_manager->RegisterNamedService("bcat:m",
std::make_shared<BcatInterface>(system, "bcat:m"));
server_manager->RegisterNamedService("bcat:u",
std::make_shared<BcatInterface>(system, "bcat:u"));
server_manager->RegisterNamedService("bcat:s",
std::make_shared<BcatInterface>(system, "bcat:s"));
2024-02-08 22:48:53 -06:00
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));
2018-05-28 16:36:38 +03:00
}
2018-05-28 16:36:38 +03:00
} // namespace Service::BCAT