mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-07-23 10:35:03 +00:00
buffer_cache: Ignore cases when backing write fails
Workaround for some freezes
This commit is contained in:
parent
0edfa4643f
commit
131c81ef1e
@ -282,8 +282,8 @@ bool BufferCache::CommitPendingDownloads(bool wait_done) {
|
|||||||
const u64 dst_offset = copy.dstOffset - offset;
|
const u64 dst_offset = copy.dstOffset - offset;
|
||||||
if (!memory->TryWriteBacking(std::bit_cast<u8*>(copy_device_addr),
|
if (!memory->TryWriteBacking(std::bit_cast<u8*>(copy_device_addr),
|
||||||
download + dst_offset, copy.size)) {
|
download + dst_offset, copy.size)) {
|
||||||
std::memcpy(std::bit_cast<u8*>(copy_device_addr), download + dst_offset,
|
//std::memcpy(std::bit_cast<u8*>(copy_device_addr), download + dst_offset,
|
||||||
copy.size);
|
// copy.size);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user