diff options
author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2021-11-01 18:53:32 +0100 |
---|---|---|
committer | Fernando Sahmkow <fsahmkow27@gmail.com> | 2022-10-06 21:00:51 +0200 |
commit | 3cbe352c18f69596d91c4862382d61a3d6515140 (patch) | |
tree | ad03ae10647c26a0913344ed62b47a768eb67736 /src/core/hle/service/nvdrv/devices/nvhost_nvdec_common.h | |
parent | NVDRV: Cleanup. (diff) | |
download | yuzu-3cbe352c18f69596d91c4862382d61a3d6515140.tar yuzu-3cbe352c18f69596d91c4862382d61a3d6515140.tar.gz yuzu-3cbe352c18f69596d91c4862382d61a3d6515140.tar.bz2 yuzu-3cbe352c18f69596d91c4862382d61a3d6515140.tar.lz yuzu-3cbe352c18f69596d91c4862382d61a3d6515140.tar.xz yuzu-3cbe352c18f69596d91c4862382d61a3d6515140.tar.zst yuzu-3cbe352c18f69596d91c4862382d61a3d6515140.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/service/nvdrv/devices/nvhost_nvdec_common.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/core/hle/service/nvdrv/devices/nvhost_nvdec_common.h b/src/core/hle/service/nvdrv/devices/nvhost_nvdec_common.h index 12d39946d..cccc94a58 100644 --- a/src/core/hle/service/nvdrv/devices/nvhost_nvdec_common.h +++ b/src/core/hle/service/nvdrv/devices/nvhost_nvdec_common.h @@ -9,7 +9,11 @@ #include "core/hle/service/nvdrv/devices/nvdevice.h" namespace Service::Nvidia { + +namespace NvCore { class SyncpointManager; +class Container; +} // namespace NvCore namespace Devices { class nvmap; @@ -17,7 +21,7 @@ class nvmap; class nvhost_nvdec_common : public nvdevice { public: explicit nvhost_nvdec_common(Core::System& system_, std::shared_ptr<nvmap> nvmap_dev_, - SyncpointManager& syncpoint_manager_); + NvCore::Container& core); ~nvhost_nvdec_common() override; protected: @@ -114,7 +118,8 @@ protected: s32_le nvmap_fd{}; u32_le submit_timeout{}; std::shared_ptr<nvmap> nvmap_dev; - SyncpointManager& syncpoint_manager; + NvCore::Container& core; + NvCore::SyncpointManager& syncpoint_manager; std::array<u32, MaxSyncPoints> device_syncpoints{}; }; }; // namespace Devices |