diff options
| author | 2020-11-23 13:25:01 -0500 | |
|---|---|---|
| committer | 2021-02-13 13:07:31 -0500 | |
| commit | ac265a72ce4176ceb3cd10a5548ab71519771640 (patch) | |
| tree | 0acde029388d465a5801db9106dd8f4e026e57e8 /src/core | |
| parent | Merge pull request #5919 from ReinUsesLisp/stream-buffer-tragic (diff) | |
| download | yuzu-ac265a72ce4176ceb3cd10a5548ab71519771640.tar.gz yuzu-ac265a72ce4176ceb3cd10a5548ab71519771640.tar.xz yuzu-ac265a72ce4176ceb3cd10a5548ab71519771640.zip | |
nvdec cleanup
Diffstat (limited to 'src/core')
| -rw-r--r-- | src/core/hle/service/nvdrv/devices/nvhost_vic.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/core/hle/service/nvdrv/devices/nvhost_vic.cpp b/src/core/hle/service/nvdrv/devices/nvhost_vic.cpp index 72499654c..a29abd15b 100644 --- a/src/core/hle/service/nvdrv/devices/nvhost_vic.cpp +++ b/src/core/hle/service/nvdrv/devices/nvhost_vic.cpp | |||
| @@ -28,8 +28,14 @@ NvResult nvhost_vic::Ioctl1(Ioctl command, const std::vector<u8>& input, std::ve | |||
| 28 | return GetWaitbase(input, output); | 28 | return GetWaitbase(input, output); |
| 29 | case 0x9: | 29 | case 0x9: |
| 30 | return MapBuffer(input, output); | 30 | return MapBuffer(input, output); |
| 31 | case 0xa: | 31 | case 0xa: { |
| 32 | if (command.length == 0x1c) { | ||
| 33 | Tegra::ChCommandHeaderList cmdlist(1); | ||
| 34 | cmdlist[0] = Tegra::ChCommandHeader{0xDEADB33F}; | ||
| 35 | system.GPU().PushCommandBuffer(cmdlist); | ||
| 36 | } | ||
| 32 | return UnmapBuffer(input, output); | 37 | return UnmapBuffer(input, output); |
| 38 | } | ||
| 33 | default: | 39 | default: |
| 34 | break; | 40 | break; |
| 35 | } | 41 | } |