diff options
| author | 2018-10-20 15:53:21 -0400 | |
|---|---|---|
| committer | 2018-10-20 15:53:24 -0400 | |
| commit | 08e574eec4437ac7f8e067dd3ecd276328ed41dc (patch) | |
| tree | 2ed1df5d34e5f27457c25d50451c53930c25450c /src | |
| parent | Merge pull request #1535 from ReinUsesLisp/fixup-position (diff) | |
| download | yuzu-08e574eec4437ac7f8e067dd3ecd276328ed41dc.tar.gz yuzu-08e574eec4437ac7f8e067dd3ecd276328ed41dc.tar.xz yuzu-08e574eec4437ac7f8e067dd3ecd276328ed41dc.zip | |
maxwell_dma: Remove unused variables in HandleCopy()
These pointer variables are never used, so we can get rid of them.
Diffstat (limited to 'src')
| -rw-r--r-- | src/video_core/engines/maxwell_dma.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/video_core/engines/maxwell_dma.cpp b/src/video_core/engines/maxwell_dma.cpp index 103cd110e..a945daf6a 100644 --- a/src/video_core/engines/maxwell_dma.cpp +++ b/src/video_core/engines/maxwell_dma.cpp | |||
| @@ -91,9 +91,6 @@ void MaxwellDMA::HandleCopy() { | |||
| 91 | rasterizer.InvalidateRegion(dest_cpu, dst_size); | 91 | rasterizer.InvalidateRegion(dest_cpu, dst_size); |
| 92 | }; | 92 | }; |
| 93 | 93 | ||
| 94 | u8* src_buffer = Memory::GetPointer(source_cpu); | ||
| 95 | u8* dst_buffer = Memory::GetPointer(dest_cpu); | ||
| 96 | |||
| 97 | if (regs.exec.is_dst_linear && !regs.exec.is_src_linear) { | 94 | if (regs.exec.is_dst_linear && !regs.exec.is_src_linear) { |
| 98 | ASSERT(regs.src_params.size_z == 1); | 95 | ASSERT(regs.src_params.size_z == 1); |
| 99 | // If the input is tiled and the output is linear, deswizzle the input and copy it over. | 96 | // If the input is tiled and the output is linear, deswizzle the input and copy it over. |