diff options
author | Lioncash <mathew1800@gmail.com> | 2018-10-20 21:53:21 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2018-10-20 21:53:24 +0200 |
commit | 08e574eec4437ac7f8e067dd3ecd276328ed41dc (patch) | |
tree | 2ed1df5d34e5f27457c25d50451c53930c25450c /src/video_core/engines/maxwell_dma.cpp | |
parent | Merge pull request #1535 from ReinUsesLisp/fixup-position (diff) | |
download | yuzu-08e574eec4437ac7f8e067dd3ecd276328ed41dc.tar yuzu-08e574eec4437ac7f8e067dd3ecd276328ed41dc.tar.gz yuzu-08e574eec4437ac7f8e067dd3ecd276328ed41dc.tar.bz2 yuzu-08e574eec4437ac7f8e067dd3ecd276328ed41dc.tar.lz yuzu-08e574eec4437ac7f8e067dd3ecd276328ed41dc.tar.xz yuzu-08e574eec4437ac7f8e067dd3ecd276328ed41dc.tar.zst yuzu-08e574eec4437ac7f8e067dd3ecd276328ed41dc.zip |
Diffstat (limited to 'src/video_core/engines/maxwell_dma.cpp')
-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() { rasterizer.InvalidateRegion(dest_cpu, dst_size); }; - u8* src_buffer = Memory::GetPointer(source_cpu); - u8* dst_buffer = Memory::GetPointer(dest_cpu); - if (regs.exec.is_dst_linear && !regs.exec.is_src_linear) { ASSERT(regs.src_params.size_z == 1); // If the input is tiled and the output is linear, deswizzle the input and copy it over. |