summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/vi/vi.cpp
diff options
context:
space:
mode:
authorSubv <subv2112@gmail.com>2018-01-22 19:40:02 +0100
committerSubv <subv2112@gmail.com>2018-01-22 19:40:02 +0100
commit42859461f3d6db8ea64facdf388d4791f713c7b1 (patch)
tree379f83f27aa9718926733bf3e8c9e10cfd50b409 /src/core/hle/service/vi/vi.cpp
parentMerge pull request #132 from Subv/nvflinger (diff)
downloadyuzu-42859461f3d6db8ea64facdf388d4791f713c7b1.tar
yuzu-42859461f3d6db8ea64facdf388d4791f713c7b1.tar.gz
yuzu-42859461f3d6db8ea64facdf388d4791f713c7b1.tar.bz2
yuzu-42859461f3d6db8ea64facdf388d4791f713c7b1.tar.lz
yuzu-42859461f3d6db8ea64facdf388d4791f713c7b1.tar.xz
yuzu-42859461f3d6db8ea64facdf388d4791f713c7b1.tar.zst
yuzu-42859461f3d6db8ea64facdf388d4791f713c7b1.zip
Diffstat (limited to 'src/core/hle/service/vi/vi.cpp')
-rw-r--r--src/core/hle/service/vi/vi.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/core/hle/service/vi/vi.cpp b/src/core/hle/service/vi/vi.cpp
index e0bfad290..6576f81db 100644
--- a/src/core/hle/service/vi/vi.cpp
+++ b/src/core/hle/service/vi/vi.cpp
@@ -753,8 +753,9 @@ IApplicationDisplayService::IApplicationDisplayService(
RegisterHandlers(functions);
}
-void InstallInterfaces(SM::ServiceManager& service_manager) {
- std::make_shared<VI_M>()->InstallAsService(service_manager);
+void InstallInterfaces(SM::ServiceManager& service_manager,
+ std::shared_ptr<NVFlinger::NVFlinger> nv_flinger) {
+ std::make_shared<VI_M>(nv_flinger)->InstallAsService(service_manager);
}
} // namespace VI