Browse Source

force stronger read

lizzie/force-flush-in-nce-invalidate
lizzie 1 month ago
committed by crueter
parent
commit
01a616704b
  1. 2
      src/core/memory.cpp

2
src/core/memory.cpp

@ -755,7 +755,7 @@ struct Memory::Impl {
auto& gpu = system.GPU();
gpu_device_memory->ApplyOpOnPointer(p, scratch_buffers[core], [&](DAddr address) {
if (flush) {
gpu.FlushRegion(address, size);
void(gpu.OnCPURead(address, size));
}
gpu.InvalidateRegion(address, size);
});

Loading…
Cancel
Save