2018-01-13 16:22:39 -05:00
|
|
|
// Copyright 2018 yuzu emulator team
|
2018-01-07 21:25:57 -05: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 21:30:22 -05:00
|
|
|
std::weak_ptr<NVDRV_A> nvdrv_a;
|
|
|
|
|
2018-01-07 21:25:57 -05:00
|
|
|
void InstallInterfaces(SM::ServiceManager& service_manager) {
|
2018-01-08 21:30:22 -05:00
|
|
|
auto nvdrv = std::make_shared<NVDRV_A>();
|
|
|
|
nvdrv->InstallAsService(service_manager);
|
|
|
|
nvdrv_a = nvdrv;
|
2018-01-07 21:25:57 -05:00
|
|
|
}
|
|
|
|
|
2018-01-08 21:30:22 -05:00
|
|
|
} // namespace NVDRV
|
2018-01-07 21:25:57 -05:00
|
|
|
} // namespace Service
|