diff options
| author | 2020-11-23 18:38:13 -0500 | |
|---|---|---|
| committer | 2021-02-13 13:07:56 -0500 | |
| commit | 3c37d66c28b7150c076091b1a5f7b4206ff71761 (patch) | |
| tree | a94842cf676becde88f9bde3411504fa736b01c3 /src/video_core/cdma_pusher.cpp | |
| parent | streamline cdma_pusher/command_classes (diff) | |
| download | yuzu-3c37d66c28b7150c076091b1a5f7b4206ff71761.tar.gz yuzu-3c37d66c28b7150c076091b1a5f7b4206ff71761.tar.xz yuzu-3c37d66c28b7150c076091b1a5f7b4206ff71761.zip | |
Address PR feedback
Co-Authored-By: LC <712067+lioncash@users.noreply.github.com>
Diffstat (limited to 'src/video_core/cdma_pusher.cpp')
| -rw-r--r-- | src/video_core/cdma_pusher.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/video_core/cdma_pusher.cpp b/src/video_core/cdma_pusher.cpp index d80e74225..e1f00c4da 100644 --- a/src/video_core/cdma_pusher.cpp +++ b/src/video_core/cdma_pusher.cpp | |||
| @@ -103,8 +103,8 @@ 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( | 106 | nvdec_processor->ProcessMethod(static_cast<Nvdec::Method>(nvdec_thi_state.method_0), |
| 107 | static_cast<Tegra::Nvdec::Method>(nvdec_thi_state.method_0), data); | 107 | data); |
| 108 | break; | 108 | break; |
| 109 | default: | 109 | default: |
| 110 | break; | 110 | break; |
| @@ -128,8 +128,7 @@ void CDmaPusher::ExecuteCommand(u32 state_offset, u32 data) { | |||
| 128 | case ThiMethod::SetMethod1: | 128 | case ThiMethod::SetMethod1: |
| 129 | LOG_DEBUG(Service_NVDRV, "VIC method 0x{:X}, Args=({})", | 129 | LOG_DEBUG(Service_NVDRV, "VIC method 0x{:X}, Args=({})", |
| 130 | static_cast<u32>(vic_thi_state.method_0), data); | 130 | static_cast<u32>(vic_thi_state.method_0), data); |
| 131 | vic_processor->ProcessMethod(static_cast<Tegra::Vic::Method>(vic_thi_state.method_0), | 131 | vic_processor->ProcessMethod(static_cast<Vic::Method>(vic_thi_state.method_0), data); |
| 132 | data); | ||
| 133 | break; | 132 | break; |
| 134 | default: | 133 | default: |
| 135 | break; | 134 | break; |
| @@ -138,7 +137,7 @@ void CDmaPusher::ExecuteCommand(u32 state_offset, u32 data) { | |||
| 138 | case ChClassId::Host1x: | 137 | case ChClassId::Host1x: |
| 139 | // This device is mainly for syncpoint synchronization | 138 | // This device is mainly for syncpoint synchronization |
| 140 | LOG_DEBUG(Service_NVDRV, "Host1X Class Method"); | 139 | LOG_DEBUG(Service_NVDRV, "Host1X Class Method"); |
| 141 | host1x_processor->ProcessMethod(static_cast<Tegra::Host1x::Method>(offset), data); | 140 | host1x_processor->ProcessMethod(static_cast<Host1x::Method>(offset), data); |
| 142 | break; | 141 | break; |
| 143 | default: | 142 | default: |
| 144 | UNIMPLEMENTED_MSG("Current class not implemented {:X}", static_cast<u32>(current_class)); | 143 | UNIMPLEMENTED_MSG("Current class not implemented {:X}", static_cast<u32>(current_class)); |