Explorar o código

maxwell_dma: Make FlushAndInvalidate's size parameter a u64

This prevents truncation warnings at the lambda's usage sites.
Lioncash %!s(int64=7) %!d(string=hai) anos
pai
achega
dd1ee39426
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/video_core/engines/maxwell_dma.cpp

+ 1 - 1
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);