mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-26 03:38:39 +01:00
Merge pull request #20574 from hrydgard/ffii-copy-texture-fix
Make the check for framebuffer copy targets slightly more lenient for tiny copies.
This commit is contained in:
2 files changed
+5
-2
No files matched your search
@@ -2070,9 +2070,9 @@ bool FramebufferManagerCommon::NotifyFramebufferCopy(u32 src, u32 dst, int size,
|
||||
if (!ignoreDstBuffer && dst >= vfb_address && (dst + size <= vfb_address + vfb_size || dst == vfb_address)) {
|
||||
const u32 offset = dst - vfb_address;
|
||||
const u32 yOffset = offset / vfb_byteStride;
|
||||
if ((offset % vfb_byteStride) == 0 && (size == vfb_byteWidth || (size % vfb_byteStride) == 0)) {
|
||||
if ((offset % vfb_byteStride) == 0 && (size <= vfb_byteWidth || (size % vfb_byteStride) == 0)) {
|
||||
dstCandidate.y = yOffset;
|
||||
dstCandidate.h = (size == vfb_byteWidth) ? 1 : std::min((u32)size / vfb_byteStride, (u32)vfb->height);
|
||||
dstCandidate.h = (size <= vfb_byteWidth) ? 1 : std::min((u32)size / vfb_byteStride, (u32)vfb->height);
|
||||
dstCandidates.push_back(dstCandidate);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1164,6 +1164,9 @@ ULES01510 = true
|
||||
# Activision Hits Remixed
|
||||
ULES00640 = true
|
||||
ULUS10186 = true
|
||||
# Fortix (#20436)
|
||||
NPUZ00016 = true
|
||||
NPEZ00096 = true
|
||||
|
||||
[MemstickFixedFree]
|
||||
# Assassin's Creed : Bloodlines - issue #12761
|
||||
|
||||
Reference in new issue
Block a user