mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-17 11:24:27 +01:00
Try scissor/region height if viewport is == 512.
Fixes Tales of Phantasia X menu in towns, where it uses a 480 tall framebuffer but specifies a 512 tall viewport.
This commit is contained in:
1 parent
5fd0adcb6a
commit
125a440e71
1 file changed
+1
-1
@@ -673,7 +673,7 @@ void FramebufferManager::EstimateDrawingSize(int &drawing_width, int &drawing_he
|
||||
}
|
||||
|
||||
// Assume no buffer is > 512 tall, it couldn't be textured or displayed fully if so.
|
||||
if (drawing_height > MAX_FRAMEBUF_HEIGHT) {
|
||||
if (drawing_height >= MAX_FRAMEBUF_HEIGHT) {
|
||||
if (region_height < MAX_FRAMEBUF_HEIGHT) {
|
||||
drawing_height = region_height;
|
||||
} else if (scissor_height < MAX_FRAMEBUF_HEIGHT) {
|
||||
|
||||
Reference in new issue
Block a user