diff --git a/src/v_video.c b/src/v_video.c index 16d784f4..646e6015 100644 --- a/src/v_video.c +++ b/src/v_video.c @@ -1223,7 +1223,9 @@ void V_DrawVhsEffect(boolean rewind) UINT32 pos = 0; UINT8 *normalmapstart = ((UINT8 *)transtables + (8<= upbary && y < upbary+barsize) { - //randommask = 0x0300; thismapstart -= (2<= downbary && y < downbary+barsize) { - //randommask = 0x0300; - //thismapstart = barmapstart; thismapstart -= (2< 0) offs = 0; for (x = 0; x < vid.rowbytes; x++, pos++) - tmp[pos] = thismapstart[/*(M_RandomFixed()&randommask)|*/buf[pos+offs]]; + { + tmp[pos] = thismapstart[buf[pos+offs]]; +#ifdef HQ_VHS + tmp[pos] = tmapstart[buf[pos]<<8 | tmp[pos]]; +#endif + } } - (void)randommask; memcpy(buf, tmp, vid.rowbytes*vid.height); }