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

Merge pull request #780 from purplemarshmallow/17

remove VI width calculation
This commit is contained in:
Sergey Lipskiy 2015-11-03 21:28:36 +06:00
commit 1c017ebcb4

View File

@ -46,8 +46,8 @@ void VI_UpdateSize()
}
if (VI.real_height % 2 == 1)
--VI.real_height;
} else if (hEnd != 0 && *REG.VI_WIDTH != 0)
VI.width = min((u32)floorf((hEnd - hStart)*xScale + 0.5f), *REG.VI_WIDTH);
} //else if (hEnd != 0 && *REG.VI_WIDTH != 0)
//VI.width = min((u32)floorf((hEnd - hStart)*xScale + 0.5f), *REG.VI_WIDTH);
VI.PAL = (*REG.VI_V_SYNC & 0x3ff) > 550;
if (VI.PAL && (vEnd - vStart) > 478) {