From 6596cbe94b1e45c5d6d47c2eb0754b43aaa33909 Mon Sep 17 00:00:00 2001 From: knakos Date: Sun, 30 Apr 2006 11:05:23 +0000 Subject: [PATCH] bug in vga blits: out of bounds when width=160 git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1099 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba --- stella/src/wince/FrameBufferWinCE.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;