decoders: correct block calculation

This commit is contained in:
Fernando Sahmkow
2019-06-13 16:41:16 -04:00
committed by ReinUsesLisp
parent 3dd7643214
commit 7232a1ed16
7 changed files with 41 additions and 29 deletions

View File

@ -111,7 +111,7 @@ void MaxwellDMA::HandleCopy() {
memory_manager.WriteBlock(dest, write_buffer.data(), dst_size);
} else {
ASSERT(regs.dst_params.BlockDepth() == 0);
ASSERT(regs.dst_params.BlockDepth() == 1);
const u32 src_bytes_per_pixel = regs.src_pitch / regs.x_count;