Fixed resize_vertical_line_xray()

This commit is contained in:
Adam Greenwood-Byrne 2021-03-19 11:51:21 +00:00
parent 9b494efa78
commit f18ad79676

View file

@ -243,8 +243,9 @@ void resize_vertical_line_xray (block src, block dest, unsigned int whole, unsig
px = *src; px = *src;
src += whole; src += whole;
xfrac += step; xfrac += step;
if (xfrac > 4294967295) { if (xfrac > 65535) {
xfrac %= 4294967296; xfrac %= 65536;
} else {
goto novres; goto novres;
} }
src += resize_width_asm2; src += resize_width_asm2;