2018-01-08 03:25:57 +01:00
|
|
|
// Copyright 2017 Citra Emulator Project
|
|
|
|
// 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-09 03:30:22 +01:00
|
|
|
std::weak_ptr<NVDRV_A> nvdrv_a;
|
|
|
|
|
2018-01-08 03:25:57 +01:00
|
|
|
void InstallInterfaces(SM::ServiceManager& service_manager) {
|
2018-01-09 03:30:22 +01:00
|
|
|
auto nvdrv = std::make_shared<NVDRV_A>();
|
|
|
|
nvdrv->InstallAsService(service_manager);
|
|
|
|
nvdrv_a = nvdrv;
|
2018-01-08 03:25:57 +01:00
|
|
|
}
|
|
|
|
|
2018-01-09 03:30:22 +01:00
|
|
|
} // namespace NVDRV
|
2018-01-08 03:25:57 +01:00
|
|
|
} // namespace Service
|