mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-23 01:35:46 +00:00
maxwell_dma: Make FlushAndInvalidate's size parameter a u64
This prevents truncation warnings at the lambda's usage sites.
This commit is contained in:
parent
5ddbef9c8a
commit
04e8b81de0
1 changed files with 1 additions and 1 deletions
|
@ -80,7 +80,7 @@ void MaxwellDMA::HandleCopy() {
|
||||||
|
|
||||||
std::size_t copy_size = regs.x_count * regs.y_count;
|
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
|
// TODO(Subv): For now, manually flush the regions until we implement GPU-accelerated
|
||||||
// copying.
|
// copying.
|
||||||
rasterizer.FlushRegion(source_cpu, src_size);
|
rasterizer.FlushRegion(source_cpu, src_size);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue