mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04: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:
parent
5fd0adcb6a
commit
125a440e71
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Reference in a new issue