mirror of https://github.com/mpv-player/mpv
10l: screen_height calculation was using an uninitialized variable
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22043 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
48eb95537d
commit
254548c4b3
|
@ -365,7 +365,7 @@ int vixInit(void)
|
|||
inSISIDXREG(SISCR, 0x07, cr_data2);
|
||||
sis_screen_height =
|
||||
((cr_data & 0xff) | ((uint16_t) (cr_data2 & 0x02) << 7) |
|
||||
((uint16_t) (cr_data2 & 0x40) << 3) | ((uint16_t) (sr_data & 0x02)
|
||||
((uint16_t) (cr_data2 & 0x40) << 3) | ((uint16_t) (cr_data & 0x02)
|
||||
<< 9)) + 1;
|
||||
|
||||
inSISIDXREG(SISSR, 0x0b, sr_data);
|
||||
|
|
Loading…
Reference in New Issue