mirror of
https://github.com/blawar/GLideN64.git
synced 2024-07-07 03:13:49 +00:00
Double VI.height in interlaced mode when yScale = 1.
This fixes frame buffer height for Star Wars Ep.1 Racer. Not sure that this solution is correct!
This commit is contained in:
parent
d121144760
commit
c551230a8e
3
VI.cpp
3
VI.cpp
|
@ -29,6 +29,9 @@ void VI_UpdateSize()
|
|||
VI.interlaced = (*REG.VI_STATUS & 0x40) != 0;
|
||||
|
||||
VI.width = (hEnd - hStart) * xScale;
|
||||
if (VI.interlaced && _SHIFTR(*REG.VI_Y_SCALE, 0, 12) == 1024)
|
||||
VI.real_height = (vEnd - vStart) << 1;
|
||||
else
|
||||
VI.real_height = (vEnd - vStart) * yScale;
|
||||
VI.height = VI.real_height*1.0126582f;
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user