yuzu-emu
/
yuzu-mainline
Archived
1
0
Fork 0

maxwell_dma: Remove unused variables in HandleCopy()

These pointer variables are never used, so we can get rid of them.
This commit is contained in:
Lioncash 2018-10-20 15:53:21 -04:00
parent 8dc7db7e33
commit 08e574eec4
1 changed files with 0 additions and 3 deletions

View File

@ -91,9 +91,6 @@ void MaxwellDMA::HandleCopy() {
rasterizer.InvalidateRegion(dest_cpu, dst_size); 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) { if (regs.exec.is_dst_linear && !regs.exec.is_src_linear) {
ASSERT(regs.src_params.size_z == 1); ASSERT(regs.src_params.size_z == 1);
// If the input is tiled and the output is linear, deswizzle the input and copy it over. // If the input is tiled and the output is linear, deswizzle the input and copy it over.