summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar Lioncash2018-10-20 15:54:43 -0400
committerGravatar Lioncash2018-10-20 15:54:45 -0400
commitdd1ee39426eff804667ceb07126e06ceb5a18b2e (patch)
treee6f064a05f93818a90089463b5ccbf62416ef2c5 /src
parentmaxwell_dma: Remove unused variables in HandleCopy() (diff)
downloadyuzu-dd1ee39426eff804667ceb07126e06ceb5a18b2e.tar.gz
yuzu-dd1ee39426eff804667ceb07126e06ceb5a18b2e.tar.xz
yuzu-dd1ee39426eff804667ceb07126e06ceb5a18b2e.zip
maxwell_dma: Make FlushAndInvalidate's size parameter a u64
This prevents truncation warnings at the lambda's usage sites.
Diffstat (limited to 'src')
-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() {
80 80
81 std::size_t copy_size = regs.x_count * regs.y_count; 81 std::size_t copy_size = regs.x_count * regs.y_count;
82 82
83 const auto FlushAndInvalidate = [&](u32 src_size, u32 dst_size) { 83 const auto FlushAndInvalidate = [&](u32 src_size, u64 dst_size) {
84 // TODO(Subv): For now, manually flush the regions until we implement GPU-accelerated 84 // TODO(Subv): For now, manually flush the regions until we implement GPU-accelerated
85 // copying. 85 // copying.
86 rasterizer.FlushRegion(source_cpu, src_size); 86 rasterizer.FlushRegion(source_cpu, src_size);