1
0
mirror of https://github.com/blawar/GLideN64.git synced 2024-07-02 09:03:37 +00:00

Correct VI.height calculation - make it even.

Fixed New Tetris work with FB on.
This commit is contained in:
Sergey Lipskiy 2015-02-19 15:47:18 +06:00
parent 67e26af187
commit 65b6de3f19

2
VI.cpp
View File

@ -64,6 +64,8 @@ void VI_UpdateSize()
VI.height = (u32)(VI.real_height*1.0041841f);
else
VI.height = (u32)(VI.real_height*1.0126582f);
if (VI.height % 2 == 1)
--VI.height;
// const int fsaa = ((*REG.VI_STATUS) >> 8) & 3;
// const int divot = ((*REG.VI_STATUS) >> 4) & 1;