2018-01-13 13:22:39 -08:00
|
|
|
// Copyright 2018 yuzu emulator team
|
2018-01-07 18:25:57 -08:00
|
|
|
// Licensed under GPLv2 or any later version
|
|
|
|
// Refer to the license.txt file included.
|
|
|
|
|
|
|
|
#include "core/hle/service/nvdrv/nvdrv.h"
|
|
|
|
#include "core/hle/service/nvdrv/nvdrv_a.h"
|
|
|
|
|
|
|
|
namespace Service {
|
|
|
|
namespace NVDRV {
|
|
|
|
|
2018-01-08 18:30:22 -08:00
|
|
|
std::weak_ptr<NVDRV_A> nvdrv_a;
|
|
|
|
|
2018-01-07 18:25:57 -08:00
|
|
|
void InstallInterfaces(SM::ServiceManager& service_manager) {
|
2018-01-08 18:30:22 -08:00
|
|
|
auto nvdrv = std::make_shared<NVDRV_A>();
|
|
|
|
nvdrv->InstallAsService(service_manager);
|
|
|
|
nvdrv_a = nvdrv;
|
2018-01-07 18:25:57 -08:00
|
|
|
}
|
|
|
|
|
2018-01-08 18:30:22 -08:00
|
|
|
} // namespace NVDRV
|
2018-01-07 18:25:57 -08:00
|
|
|
} // namespace Service
|