mirror of
https://github.com/blawar/GLideN64.git
synced 2024-07-04 10:03:36 +00:00
Correct VI.height calculation - make it even.
Fixed New Tetris work with FB on.
This commit is contained in:
parent
67e26af187
commit
65b6de3f19
2
VI.cpp
2
VI.cpp
|
@ -64,6 +64,8 @@ void VI_UpdateSize()
|
||||||
VI.height = (u32)(VI.real_height*1.0041841f);
|
VI.height = (u32)(VI.real_height*1.0041841f);
|
||||||
else
|
else
|
||||||
VI.height = (u32)(VI.real_height*1.0126582f);
|
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 fsaa = ((*REG.VI_STATUS) >> 8) & 3;
|
||||||
// const int divot = ((*REG.VI_STATUS) >> 4) & 1;
|
// const int divot = ((*REG.VI_STATUS) >> 4) & 1;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user