diff options
author | Lioncash <mathew1800@gmail.com> | 2018-10-20 15:54:43 -0400 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2018-10-20 15:54:45 -0400 |
commit | dd1ee39426eff804667ceb07126e06ceb5a18b2e (patch) | |
tree | e6f064a05f93818a90089463b5ccbf62416ef2c5 /src/video_core | |
parent | 08e574eec4437ac7f8e067dd3ecd276328ed41dc (diff) |
maxwell_dma: Make FlushAndInvalidate's size parameter a u64
This prevents truncation warnings at the lambda's usage sites.
Diffstat (limited to 'src/video_core')
-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 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); |