diff options
| author | 2019-05-14 00:55:32 -0400 | |
|---|---|---|
| committer | 2019-06-20 21:36:12 -0300 | |
| commit | d267948a73d2364949660a24d07833ea05c9fcc8 (patch) | |
| tree | f0bfd7e5bfdcb08be09733926e6b3a8c5ad31edf /src/video_core/engines | |
| parent | texture_cache: Document the most important methods. (diff) | |
| download | yuzu-d267948a73d2364949660a24d07833ea05c9fcc8.tar.gz yuzu-d267948a73d2364949660a24d07833ea05c9fcc8.tar.xz yuzu-d267948a73d2364949660a24d07833ea05c9fcc8.zip | |
texture_cache: loose TryReconstructSurface when accurate GPU is not on.
Also corrects some asserts.
Diffstat (limited to 'src/video_core/engines')
| -rw-r--r-- | src/video_core/engines/maxwell_dma.cpp | 2 |
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() { | |||
| 111 | 111 | ||
| 112 | memory_manager.WriteBlock(dest, write_buffer.data(), dst_size); | 112 | memory_manager.WriteBlock(dest, write_buffer.data(), dst_size); |
| 113 | } else { | 113 | } else { |
| 114 | ASSERT(regs.dst_params.BlockDepth() == 1); | 114 | ASSERT(regs.dst_params.BlockDepth() == 0); |
| 115 | 115 | ||
| 116 | const u32 src_bytes_per_pixel = regs.src_pitch / regs.x_count; | 116 | const u32 src_bytes_per_pixel = regs.src_pitch / regs.x_count; |
| 117 | 117 | ||