1
0
mirror of https://github.com/blawar/GLideN64.git synced 2024-07-04 10:03:36 +00:00

Correct auxiliary buffers height in gDPSetColorImage.

This commit is contained in:
Sergey Lipskiy 2014-10-21 15:28:03 +07:00
parent cdf168e469
commit fa5d2ce544

View File

@ -269,6 +269,8 @@ void gDPSetColorImage( u32 format, u32 size, u32 width, u32 address )
height = min(height, VI.height);
} else if (width == gDP.scissor.lrx)
height = gDP.scissor.lry;
else if (width <= 64)
height = width;
else
height = gSP.viewport.height;