diff options
| -rw-r--r-- | src/video_core/engines/maxwell_dma.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/video_core/engines/maxwell_dma.cpp b/src/video_core/engines/maxwell_dma.cpp index c51776466..c7ec1eac9 100644 --- a/src/video_core/engines/maxwell_dma.cpp +++ b/src/video_core/engines/maxwell_dma.cpp | |||
| @@ -127,7 +127,8 @@ void MaxwellDMA::CopyBlockLinearToPitch() { | |||
| 127 | 127 | ||
| 128 | // Optimized path for micro copies. | 128 | // Optimized path for micro copies. |
| 129 | const size_t dst_size = static_cast<size_t>(regs.pitch_out) * regs.line_count; | 129 | const size_t dst_size = static_cast<size_t>(regs.pitch_out) * regs.line_count; |
| 130 | if (dst_size < GOB_SIZE && regs.pitch_out <= GOB_SIZE_X) { | 130 | if (dst_size < GOB_SIZE && regs.pitch_out <= GOB_SIZE_X && |
| 131 | regs.src_params.height > GOB_SIZE_Y) { | ||
| 131 | FastCopyBlockLinearToPitch(); | 132 | FastCopyBlockLinearToPitch(); |
| 132 | return; | 133 | return; |
| 133 | } | 134 | } |