diff options
author | Subv <subv2112@gmail.com> | 2018-01-16 00:30:49 +0100 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2018-01-17 01:04:09 +0100 |
commit | cb75b56e454a36190f07ee34b0e4e6ee6a7a66be (patch) | |
tree | f5af26691caa3aef505c2a66b07831f24c83b8e4 /src/core/hle/service/nvdrv/nvdrv.cpp | |
parent | NV: Move the nvdrv classes into the Nvidia namespace, and move the functionality to a s single module that services call. (diff) | |
download | yuzu-cb75b56e454a36190f07ee34b0e4e6ee6a7a66be.tar yuzu-cb75b56e454a36190f07ee34b0e4e6ee6a7a66be.tar.gz yuzu-cb75b56e454a36190f07ee34b0e4e6ee6a7a66be.tar.bz2 yuzu-cb75b56e454a36190f07ee34b0e4e6ee6a7a66be.tar.lz yuzu-cb75b56e454a36190f07ee34b0e4e6ee6a7a66be.tar.xz yuzu-cb75b56e454a36190f07ee34b0e4e6ee6a7a66be.tar.zst yuzu-cb75b56e454a36190f07ee34b0e4e6ee6a7a66be.zip |
Diffstat (limited to 'src/core/hle/service/nvdrv/nvdrv.cpp')
-rw-r--r-- | src/core/hle/service/nvdrv/nvdrv.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/core/hle/service/nvdrv/nvdrv.cpp b/src/core/hle/service/nvdrv/nvdrv.cpp index be9946505..cf525a875 100644 --- a/src/core/hle/service/nvdrv/nvdrv.cpp +++ b/src/core/hle/service/nvdrv/nvdrv.cpp @@ -2,12 +2,13 @@ // Licensed under GPLv2 or any later version // Refer to the license.txt file included. +#include "core/hle/ipc_helpers.h" #include "core/hle/service/nvdrv/devices/nvdevice.h" #include "core/hle/service/nvdrv/devices/nvdisp_disp0.h" #include "core/hle/service/nvdrv/devices/nvhost_as_gpu.h" #include "core/hle/service/nvdrv/devices/nvmap.h" #include "core/hle/service/nvdrv/nvdrv.h" -#include "core/hle/service/nvdrv/nvdrv_a.h" +#include "core/hle/service/nvdrv/interface.h" namespace Service { namespace Nvidia { @@ -16,7 +17,8 @@ std::weak_ptr<Module> nvdrv; void InstallInterfaces(SM::ServiceManager& service_manager) { auto module_ = std::make_shared<Module>(); - std::make_shared<NVDRV_A>(module_)->InstallAsService(service_manager); + std::make_shared<NVDRV>(module_, "nvdrv")->InstallAsService(service_manager); + std::make_shared<NVDRV>(module_, "nvdrv:a")->InstallAsService(service_manager); nvdrv = module_; } |