diff options
author | Lioncash <mathew1800@gmail.com> | 2021-05-04 10:04:05 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2021-05-04 10:38:38 +0200 |
commit | 9e726a9250033f5c8fbddd917c7779b808d99705 (patch) | |
tree | 587ac77fbf0c4aa24c80710c802385bc4ac9b4d6 /src/core/hle/service/nvdrv/devices/nvhost_gpu.cpp | |
parent | Merge pull request #6278 from lioncash/misc-shadow (diff) | |
download | yuzu-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.cpp | 10 |
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; |