mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2026-08-24 16:30:44 +00:00
no relaxed flush then
This commit is contained in:
+3
-4
@@ -753,12 +753,11 @@ struct Memory::Impl {
|
||||
}
|
||||
};
|
||||
auto& gpu = system.GPU();
|
||||
gpu_device_memory->ApplyOpOnPointer(p, scratch_buffers[core], [&](DAddr address) {
|
||||
gpu_device_memory->ApplyOpOnPointer(p, scratch_buffers[core], [&](DAddr addr) {
|
||||
if (flush) {
|
||||
auto const wait_fence = gpu.RequestFlush(address, size);
|
||||
gpu.WaitForSyncOperation(wait_fence);
|
||||
void(gpu.OnCPURead(addr, size));
|
||||
}
|
||||
gpu.InvalidateRegion(address, size);
|
||||
gpu.InvalidateRegion(addr, size);
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user