summaryrefslogtreecommitdiffstats
path: root/src/video_core/engines
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2019-05-14 06:55:32 +0200
committerReinUsesLisp <reinuseslisp@airmail.cc>2019-06-21 02:36:12 +0200
commitd267948a73d2364949660a24d07833ea05c9fcc8 (patch)
treef0bfd7e5bfdcb08be09733926e6b3a8c5ad31edf /src/video_core/engines
parenttexture_cache: Document the most important methods. (diff)
downloadyuzu-d267948a73d2364949660a24d07833ea05c9fcc8.tar
yuzu-d267948a73d2364949660a24d07833ea05c9fcc8.tar.gz
yuzu-d267948a73d2364949660a24d07833ea05c9fcc8.tar.bz2
yuzu-d267948a73d2364949660a24d07833ea05c9fcc8.tar.lz
yuzu-d267948a73d2364949660a24d07833ea05c9fcc8.tar.xz
yuzu-d267948a73d2364949660a24d07833ea05c9fcc8.tar.zst
yuzu-d267948a73d2364949660a24d07833ea05c9fcc8.zip
Diffstat (limited to 'src/video_core/engines')
-rw-r--r--src/video_core/engines/maxwell_dma.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/engines/maxwell_dma.cpp b/src/video_core/engines/maxwell_dma.cpp
index 3a5dfef0c..afb9578d0 100644
--- a/src/video_core/engines/maxwell_dma.cpp
+++ b/src/video_core/engines/maxwell_dma.cpp
@@ -111,7 +111,7 @@ void MaxwellDMA::HandleCopy() {
memory_manager.WriteBlock(dest, write_buffer.data(), dst_size);
} else {
- ASSERT(regs.dst_params.BlockDepth() == 1);
+ ASSERT(regs.dst_params.BlockDepth() == 0);
const u32 src_bytes_per_pixel = regs.src_pitch / regs.x_count;