mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-09-05 12:15:19 +02:00
A failed FindTransferFramebuffer leaves dstRect zero-initialized, and RASTER_COLOR is 0, so the channel check passes and vfb is read through a null pointer. Only reachable for a depth-source transfer to an address with no matching framebuffer. Check dstBuffer first, like every other use of dstRect.vfb below.