diff options
author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2022-04-18 21:07:21 +0200 |
---|---|---|
committer | Fernando Sahmkow <fsahmkow27@gmail.com> | 2022-10-06 21:00:53 +0200 |
commit | 8d774e7415fac1153d8944baa2cc250cc4831107 (patch) | |
tree | c28efcc3cc27fc399412783b589f7a1f574304c3 /src/core/hle/service/nvdrv/nvdrv.cpp | |
parent | Vulkan Texture Cache: Limit render area to the max width/height of the targets. (diff) | |
download | yuzu-8d774e7415fac1153d8944baa2cc250cc4831107.tar yuzu-8d774e7415fac1153d8944baa2cc250cc4831107.tar.gz yuzu-8d774e7415fac1153d8944baa2cc250cc4831107.tar.bz2 yuzu-8d774e7415fac1153d8944baa2cc250cc4831107.tar.lz yuzu-8d774e7415fac1153d8944baa2cc250cc4831107.tar.xz yuzu-8d774e7415fac1153d8944baa2cc250cc4831107.tar.zst yuzu-8d774e7415fac1153d8944baa2cc250cc4831107.zip |
Diffstat (limited to 'src/core/hle/service/nvdrv/nvdrv.cpp')
-rw-r--r-- | src/core/hle/service/nvdrv/nvdrv.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/core/hle/service/nvdrv/nvdrv.cpp b/src/core/hle/service/nvdrv/nvdrv.cpp index 1be51e401..20bf24ec8 100644 --- a/src/core/hle/service/nvdrv/nvdrv.cpp +++ b/src/core/hle/service/nvdrv/nvdrv.cpp @@ -18,6 +18,7 @@ #include "core/hle/service/nvdrv/devices/nvhost_ctrl_gpu.h" #include "core/hle/service/nvdrv/devices/nvhost_gpu.h" #include "core/hle/service/nvdrv/devices/nvhost_nvdec.h" +#include "core/hle/service/nvdrv/devices/nvhost_nvdec_common.h" #include "core/hle/service/nvdrv/devices/nvhost_nvjpg.h" #include "core/hle/service/nvdrv/devices/nvhost_vic.h" #include "core/hle/service/nvdrv/devices/nvmap.h" @@ -101,7 +102,9 @@ Module::Module(Core::System& system) }; } -Module::~Module() = default; +Module::~Module() { + Devices::nvhost_nvdec_common::Reset(); +} NvResult Module::VerifyFD(DeviceFD fd) const { if (fd < 0) { |