diff --git a/stella/src/wince/FrameBufferWinCE.cpp b/stella/src/wince/FrameBufferWinCE.cpp index 95625b502..6ef60ddef 100644 --- a/stella/src/wince/FrameBufferWinCE.cpp +++ b/stella/src/wince/FrameBufferWinCE.cpp @@ -569,7 +569,7 @@ void FrameBufferWinCE::drawMediaSource() // 4/1 if ( *((uInt32 *) sc) != *((uInt32 *) sp) ) { - nl = d + scrlinestep; + nl = d + pixelstep; pix1d = paldouble[*sc++]; *((uInt32 *)d) = pix1d; d += pixelstepdouble; *((uInt32 *)nl) = pix1d; nl += pixelstepdouble;