diff options
| author | 2021-06-29 05:54:54 +0100 | |
|---|---|---|
| committer | 2021-07-01 06:22:05 +0100 | |
| commit | 208a04dcffe8142070bd8136b42def6a3233bb0f (patch) | |
| tree | 60814ffb191978100a259ee230989a6f255a4460 /src/video_core/cdma_pusher.cpp | |
| parent | Merge pull request #6529 from ReinUsesLisp/reaper-fixups (diff) | |
| download | yuzu-208a04dcffe8142070bd8136b42def6a3233bb0f.tar.gz yuzu-208a04dcffe8142070bd8136b42def6a3233bb0f.tar.xz yuzu-208a04dcffe8142070bd8136b42def6a3233bb0f.zip | |
Slightly refactor NVDEC and codecs for readability and safety
Diffstat (limited to 'src/video_core/cdma_pusher.cpp')
| -rw-r--r-- | src/video_core/cdma_pusher.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/video_core/cdma_pusher.cpp b/src/video_core/cdma_pusher.cpp index a3fda1094..8b86ad050 100644 --- a/src/video_core/cdma_pusher.cpp +++ b/src/video_core/cdma_pusher.cpp | |||
| @@ -103,8 +103,7 @@ void CDmaPusher::ExecuteCommand(u32 state_offset, u32 data) { | |||
| 103 | case ThiMethod::SetMethod1: | 103 | case ThiMethod::SetMethod1: |
| 104 | LOG_DEBUG(Service_NVDRV, "NVDEC method 0x{:X}", | 104 | LOG_DEBUG(Service_NVDRV, "NVDEC method 0x{:X}", |
| 105 | static_cast<u32>(nvdec_thi_state.method_0)); | 105 | static_cast<u32>(nvdec_thi_state.method_0)); |
| 106 | nvdec_processor->ProcessMethod(static_cast<Nvdec::Method>(nvdec_thi_state.method_0), | 106 | nvdec_processor->ProcessMethod(nvdec_thi_state.method_0, data); |
| 107 | data); | ||
| 108 | break; | 107 | break; |
| 109 | default: | 108 | default: |
| 110 | break; | 109 | break; |