mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
Additional fixes to ZipFileLoader
This commit is contained in:
1 parent
4f09c24825
commit
0a1be41fa7
3 files changed
+51
-18
No files matched your search
@@ -2201,6 +2201,7 @@ bool FramebufferManagerCommon::NotifyFramebufferCopy(u32 src, u32 dst, int size,
|
||||
// awkward visual artefacts.
|
||||
const u8 *srcBase = Memory::GetPointerUnchecked(src);
|
||||
GEBufferFormat srcFormat = channel == RASTER_DEPTH ? GE_FORMAT_DEPTH16 : dstBuffer->fb_format;
|
||||
// TODO: srcStride here looks suspicious! Actually the whole calculation does...
|
||||
int srcStride = channel == RASTER_DEPTH ? dstBuffer->z_stride : dstBuffer->fb_stride;
|
||||
DrawPixels(dstBuffer, 0, dstY, srcBase, srcFormat, srcStride, dstBuffer->width, dstH, channel, "MemcpyFboUpload_DrawPixels");
|
||||
SetColorUpdated(dstBuffer, skipDrawReason);
|
||||
|
||||
Reference in new issue
Block a user