summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/nvdrv/nvdrv.cpp
blob: c874e63957f15a26acff55d142279914a2e5271e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// 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