clang.-format

This commit is contained in:
Lander Gallastegi 2025-05-18 13:56:42 +02:00
parent 5740edfc47
commit e50b94183f

View File

@ -140,8 +140,7 @@ void BufferCache::InvalidateMemory(VAddr device_addr, u64 size, bool unmap) {
// This is a temporary workaround... // This is a temporary workaround...
std::scoped_lock lock(dma_sync_ranges_mutex); std::scoped_lock lock(dma_sync_ranges_mutex);
const VAddr aligned_addr = Common::AlignDown(device_addr, 4_KB); const VAddr aligned_addr = Common::AlignDown(device_addr, 4_KB);
const u64 aligned_size = const u64 aligned_size = Common::AlignUp(device_addr + size, 4_KB) - aligned_addr;
Common::AlignUp(device_addr + size, 4_KB) - aligned_addr;
dma_sync_ranges.Add(aligned_addr, aligned_size); dma_sync_ranges.Add(aligned_addr, aligned_size);
} }
} }