mirror of
https://git.h3cjp.net/H3cJP/yuzu.git
synced 2024-11-14 02:02:47 +00:00
21 lines
507 B
C++
21 lines
507 B
C++
// Copyright 2018 yuzu emulator team
|
|
// 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 {
|
|
|
|
std::weak_ptr<NVDRV_A> nvdrv_a;
|
|
|
|
void InstallInterfaces(SM::ServiceManager& service_manager) {
|
|
auto nvdrv = std::make_shared<NVDRV_A>();
|
|
nvdrv->InstallAsService(service_manager);
|
|
nvdrv_a = nvdrv;
|
|
}
|
|
|
|
} // namespace NVDRV
|
|
} // namespace Service
|