summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-10-20 15:54:43 -0400
committerLioncash <mathew1800@gmail.com>2018-10-20 15:54:45 -0400
commitdd1ee39426eff804667ceb07126e06ceb5a18b2e (patch)
treee6f064a05f93818a90089463b5ccbf62416ef2c5
parent08e574eec4437ac7f8e067dd3ecd276328ed41dc (diff)
maxwell_dma: Make FlushAndInvalidate's size parameter a u64
This prevents truncation warnings at the lambda's usage sites.
-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 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);