aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/hle/service/nvdrv
diff options
context:
space:
mode:
authorLiam <[email protected]>2023-06-08 01:15:51 -0400
committerLiam <[email protected]>2023-06-08 01:15:51 -0400
commit6c34adb1de2965a9c5800970703bb1288764026f (patch)
tree419d795b517fa790a42ca90ce8f17bda41e85af7 /src/core/hle/service/nvdrv
parent9c6fc44a5904bfb158a08407958954ac101a6aaf (diff)
downloadyuzu-android-6c34adb1de2965a9c5800970703bb1288764026f.tar.gz
yuzu-android-6c34adb1de2965a9c5800970703bb1288764026f.zip
nvnflinger: allow locking framerate during video playback
Diffstat (limited to 'src/core/hle/service/nvdrv')
-rw-r--r--src/core/hle/service/nvdrv/devices/nvhost_nvdec.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/service/nvdrv/devices/nvhost_nvdec.cpp b/src/core/hle/service/nvdrv/devices/nvhost_nvdec.cpp
index 0c7aee1b8..dc45169ad 100644
--- a/src/core/hle/service/nvdrv/devices/nvhost_nvdec.cpp
+++ b/src/core/hle/service/nvdrv/devices/nvhost_nvdec.cpp
@@ -69,7 +69,7 @@ NvResult nvhost_nvdec::Ioctl3(DeviceFD fd, Ioctl command, std::span<const u8> in
void nvhost_nvdec::OnOpen(DeviceFD fd) {
LOG_INFO(Service_NVDRV, "NVDEC video stream started");
- system.AudioCore().SetNVDECActive(true);
+ system.SetNVDECActive(true);
}
void nvhost_nvdec::OnClose(DeviceFD fd) {
@@ -79,7 +79,7 @@ void nvhost_nvdec::OnClose(DeviceFD fd) {
if (iter != host1x_file.fd_to_id.end()) {
system.GPU().ClearCdmaInstance(iter->second);
}
- system.AudioCore().SetNVDECActive(false);
+ system.SetNVDECActive(false);
}
} // namespace Service::Nvidia::Devices