suyu/src/core/hle/service/set/settings.cpp

24 lines
927 B
C++
Raw Normal View History

// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
2018-03-02 03:49:35 -05:00
#include "core/hle/service/server_manager.h"
2018-03-02 03:49:35 -05:00
#include "core/hle/service/set/set.h"
#include "core/hle/service/set/set_cal.h"
#include "core/hle/service/set/set_fd.h"
#include "core/hle/service/set/set_sys.h"
#include "core/hle/service/set/settings.h"
namespace Service::Set {
2018-03-02 03:49:35 -05:00
void LoopProcess(Core::System& system) {
auto server_manager = std::make_unique<ServerManager>(system);
server_manager->RegisterNamedService("set", std::make_shared<SET>(system));
server_manager->RegisterNamedService("set:cal", std::make_shared<SET_CAL>(system));
server_manager->RegisterNamedService("set:fd", std::make_shared<SET_FD>(system));
server_manager->RegisterNamedService("set:sys", std::make_shared<SET_SYS>(system));
ServerManager::RunServer(std::move(server_manager));
2018-03-02 03:49:35 -05:00
}
} // namespace Service::Set