mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-07-27 04:25:12 +00:00
Added logging for testing
This commit is contained in:
parent
63055efdd4
commit
b684dbd7a7
@ -926,9 +926,11 @@ void BufferCache::SynchronizeBuffersInRange(VAddr device_addr, u64 size) {
|
||||
void BufferCache::SynchronizeDmaBuffers() {
|
||||
RENDERER_TRACE;
|
||||
std::scoped_lock lk(dma_sync_ranges_mutex);
|
||||
LOG_WARNING(Render_Vulkan, "Synchronizing ranges");
|
||||
dma_sync_ranges.ForEach([&](VAddr device_addr, u64 end_addr) {
|
||||
RENDERER_TRACE;
|
||||
SynchronizeBuffersInRange(device_addr, end_addr - device_addr);
|
||||
LOG_WARNING(Render_Vulkan, "Sync range {:#x} - {:#x}", device_addr, end_addr);
|
||||
});
|
||||
dma_sync_ranges.Clear();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user