mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-21 18:29:05 +02:00
Merge pull request #22702 from hrydgard/present-small-latest-draw
Reject framebuffers for display by buffer size, not current drawing width/height
This commit is contained in:
1 file changed
+4
-2
@@ -1765,8 +1765,10 @@ VirtualFramebuffer *FramebufferManagerCommon::FindDisplayVFB(u32 fbaddr, u32 *of
|
||||
}
|
||||
}
|
||||
|
||||
// Reject too-tiny framebuffers to display (Godfather, see issue #16915).
|
||||
if (vfb && vfb->height < 64) {
|
||||
// Reject too-tiny framebuffers to display (Godfather, see issue #16915). By the buffer's size: width
|
||||
// and height only cover the latest draw, which can be small (the OoT PSP port ends its frames with
|
||||
// a 51x51 one).
|
||||
if (vfb && vfb->bufferHeight < 64) {
|
||||
vfb = nullptr;
|
||||
}
|
||||
return vfb;
|
||||
|
||||
Reference in new issue
Block a user