22 lines
876 B
C++
Raw Normal View History

2022-11-05 13:58:44 +01: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 04:52:59 +01: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 05:22:05 +01:00
#include "core/hle/service/server_manager.h"
2022-11-05 13:58:44 +01:00
namespace Service::AM {
2024-02-18 02:45:33 +01:00
void LoopProcess(Core::System& system) {
2023-02-19 05:22:05 +01:00
auto server_manager = std::make_unique<ServerManager>(system);
2024-02-18 02:45:33 +01:00
server_manager->RegisterNamedService("appletAE",
std::make_shared<IAllSystemAppletProxiesService>(system));
server_manager->RegisterNamedService("appletOE",
std::make_shared<IApplicationProxyService>(system));
2023-02-19 05:22:05 +01:00
ServerManager::RunServer(std::move(server_manager));
2022-11-05 13:58:44 +01:00
}
} // namespace Service::AM