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