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:
Unknown W. Brackets committed 2014-06-08 17:30:51 -07:00
1 parent 5fd0adcb6a
commit 125a440e71
1 file changed
+1 -1
+1 -1
View File
@@ -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) {