summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/nvdrv/devices/nvhost_gpu.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2021-05-04 10:04:05 +0200
committerLioncash <mathew1800@gmail.com>2021-05-04 10:38:38 +0200
commit9e726a9250033f5c8fbddd917c7779b808d99705 (patch)
tree587ac77fbf0c4aa24c80710c802385bc4ac9b4d6 /src/core/hle/service/nvdrv/devices/nvhost_gpu.cpp
parentMerge pull request #6278 from lioncash/misc-shadow (diff)
downloadyuzu-9e726a9250033f5c8fbddd917c7779b808d99705.tar
yuzu-9e726a9250033f5c8fbddd917c7779b808d99705.tar.gz
yuzu-9e726a9250033f5c8fbddd917c7779b808d99705.tar.bz2
yuzu-9e726a9250033f5c8fbddd917c7779b808d99705.tar.lz
yuzu-9e726a9250033f5c8fbddd917c7779b808d99705.tar.xz
yuzu-9e726a9250033f5c8fbddd917c7779b808d99705.tar.zst
yuzu-9e726a9250033f5c8fbddd917c7779b808d99705.zip
Diffstat (limited to 'src/core/hle/service/nvdrv/devices/nvhost_gpu.cpp')
-rw-r--r--src/core/hle/service/nvdrv/devices/nvhost_gpu.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/core/hle/service/nvdrv/devices/nvhost_gpu.cpp b/src/core/hle/service/nvdrv/devices/nvhost_gpu.cpp
index e83aaa798..c0a380088 100644
--- a/src/core/hle/service/nvdrv/devices/nvhost_gpu.cpp
+++ b/src/core/hle/service/nvdrv/devices/nvhost_gpu.cpp
@@ -14,11 +14,11 @@
namespace Service::Nvidia::Devices {
-nvhost_gpu::nvhost_gpu(Core::System& system, std::shared_ptr<nvmap> nvmap_dev,
- SyncpointManager& syncpoint_manager)
- : nvdevice(system), nvmap_dev(std::move(nvmap_dev)), syncpoint_manager{syncpoint_manager} {
- channel_fence.id = syncpoint_manager.AllocateSyncpoint();
- channel_fence.value = system.GPU().GetSyncpointValue(channel_fence.id);
+nvhost_gpu::nvhost_gpu(Core::System& system_, std::shared_ptr<nvmap> nvmap_dev_,
+ SyncpointManager& syncpoint_manager_)
+ : nvdevice{system_}, nvmap_dev{std::move(nvmap_dev_)}, syncpoint_manager{syncpoint_manager_} {
+ channel_fence.id = syncpoint_manager_.AllocateSyncpoint();
+ channel_fence.value = system_.GPU().GetSyncpointValue(channel_fence.id);
}
nvhost_gpu::~nvhost_gpu() = default;