yuzu/src/core/hle/service/am/am.cpp

22 lines
876 B
C++
Raw Normal View History

2022-11-05 16:58:44 +04:00
// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include "core/hle/service/am/am.h"
2024-02-13 07:52:59 +04:00
#include "core/hle/service/am/service/all_system_applet_proxies_service.h"
#include "core/hle/service/am/service/application_proxy_service.h"
2023-02-19 08:22:05 +04:00
#include "core/hle/service/server_manager.h"
2022-11-05 16:58:44 +04:00
namespace Service::AM {
2024-02-18 05:45:33 +04:00
void LoopProcess(Core::System& system) {
2023-02-19 08:22:05 +04:00
auto server_manager = std::make_unique<ServerManager>(system);
2024-02-18 05:45:33 +04:00
server_manager->RegisterNamedService("appletAE",
std::make_shared<IAllSystemAppletProxiesService>(system));
server_manager->RegisterNamedService("appletOE",
std::make_shared<IApplicationProxyService>(system));
2023-02-19 08:22:05 +04:00
ServerManager::RunServer(std::move(server_manager));
2022-11-05 16:58:44 +04:00
}
} // namespace Service::AM