mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-16 02:59:49 +01:00
When there are multiple copies, don't redownload.
This should improve performance when there are lots of little transfers.
This commit is contained in:
1 parent
cbb3fe0086
commit
2e1afcf08d
1 file changed
+1
-1
@@ -1904,7 +1904,7 @@ bool FramebufferManager::NotifyBlockTransferBefore(u32 dstBasePtr, int dstStride
|
||||
return false;
|
||||
} else if (srcBuffer) {
|
||||
WARN_LOG_ONCE(btd, G3D, "Block transfer download %08x -> %08x", srcBasePtr, dstBasePtr);
|
||||
if (g_Config.bBlockTransferGPU) {
|
||||
if (g_Config.bBlockTransferGPU && (srcBuffer == currentRenderVfb_ || !srcBuffer->memoryUpdated)) {
|
||||
ReadFramebufferToMemory(srcBuffer, true, srcX, srcY, width, height);
|
||||
}
|
||||
return false; // Let the bit copy happen
|
||||
|
||||
Reference in new issue
Block a user