From dd1ee39426eff804667ceb07126e06ceb5a18b2e Mon Sep 17 00:00:00 2001 From: Lioncash Date: Sat, 20 Oct 2018 15:54:43 -0400 Subject: maxwell_dma: Make FlushAndInvalidate's size parameter a u64 This prevents truncation warnings at the lambda's usage sites. --- src/video_core/engines/maxwell_dma.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/video_core/engines/maxwell_dma.cpp b/src/video_core/engines/maxwell_dma.cpp index a945daf6a..a2157fa29 100644 --- a/src/video_core/engines/maxwell_dma.cpp +++ b/src/video_core/engines/maxwell_dma.cpp @@ -80,7 +80,7 @@ void MaxwellDMA::HandleCopy() { std::size_t copy_size = regs.x_count * regs.y_count; - const auto FlushAndInvalidate = [&](u32 src_size, u32 dst_size) { + const auto FlushAndInvalidate = [&](u32 src_size, u64 dst_size) { // TODO(Subv): For now, manually flush the regions until we implement GPU-accelerated // copying. rasterizer.FlushRegion(source_cpu, src_size); -- cgit v1.2.3