mirror of
https://github.com/Lime3DS/Lime3DS.git
synced 2024-11-28 20:44:15 +01:00
b163502744
* Core: pass down Core::System reference to all services This has to be done at once due to unified interface used by HLE/LLE switcher * apt: eliminate Core::System::GetInstance * gpu_gsp: eliminate Core::System::GetInstance in service * hid: eliminate Core::System::GetInstance * nwm: eliminate Core::System::GetInstance * err_f: eliminate Core::System::GetInstance
29 lines
1.1 KiB
C++
29 lines
1.1 KiB
C++
// Copyright 2016 Citra Emulator Project
|
|
// Licensed under GPLv2 or any later version
|
|
// Refer to the license.txt file included.
|
|
|
|
#include "core/core.h"
|
|
#include "core/hle/service/nwm/nwm.h"
|
|
#include "core/hle/service/nwm/nwm_cec.h"
|
|
#include "core/hle/service/nwm/nwm_ext.h"
|
|
#include "core/hle/service/nwm/nwm_inf.h"
|
|
#include "core/hle/service/nwm/nwm_sap.h"
|
|
#include "core/hle/service/nwm/nwm_soc.h"
|
|
#include "core/hle/service/nwm/nwm_tst.h"
|
|
#include "core/hle/service/nwm/nwm_uds.h"
|
|
|
|
namespace Service::NWM {
|
|
|
|
void InstallInterfaces(Core::System& system) {
|
|
auto& service_manager = system.ServiceManager();
|
|
std::make_shared<NWM_CEC>()->InstallAsService(service_manager);
|
|
std::make_shared<NWM_EXT>()->InstallAsService(service_manager);
|
|
std::make_shared<NWM_INF>()->InstallAsService(service_manager);
|
|
std::make_shared<NWM_SAP>()->InstallAsService(service_manager);
|
|
std::make_shared<NWM_SOC>()->InstallAsService(service_manager);
|
|
std::make_shared<NWM_TST>()->InstallAsService(service_manager);
|
|
std::make_shared<NWM_UDS>(system)->InstallAsService(service_manager);
|
|
}
|
|
|
|
} // namespace Service::NWM
|