Merge pull request #22186 from hrydgard/medium-correctness-fixes

Medium-severity correctness fixes
This commit is contained in:
Henrik Rydgård authored and GitHub committed 2026-08-31 16:30:53 +02:00
commit 9cb50459d6
9 files changed
+114 -48

No files matched your search

+1 -1
View File
@@ -2627,7 +2627,7 @@ bool FramebufferManagerCommon::NotifyBlockTransferBefore(u32 dstBasePtr, int dst
if (srcRect.channel == RASTER_DEPTH) {
// Ignore the found buffer if it's not 16-bit - we create a new more suitable one instead.
if (dstRect.channel == RASTER_COLOR && dstRect.vfb->fb_format == GE_FORMAT_8888) {
if (dstBuffer && dstRect.channel == RASTER_COLOR && dstRect.vfb->fb_format == GE_FORMAT_8888) {
dstBuffer = false;
}
}