From 918d55ab5a986481e305e3284e01a994e39afdf0 Mon Sep 17 00:00:00 2001 From: stephena Date: Tue, 5 Dec 2006 03:01:49 +0000 Subject: [PATCH] Fixed a typo from copy & paste. git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1179 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba --- stella/src/gp2x/FrameBufferGP2X.cxx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/stella/src/gp2x/FrameBufferGP2X.cxx b/stella/src/gp2x/FrameBufferGP2X.cxx index a2015f9d9..afd54b199 100644 --- a/stella/src/gp2x/FrameBufferGP2X.cxx +++ b/stella/src/gp2x/FrameBufferGP2X.cxx @@ -13,7 +13,7 @@ // See the file "license" for information on usage and redistribution of // this file, and for a DISCLAIMER OF ALL WARRANTIES. // -// $Id: FrameBufferGP2X.cxx,v 1.4 2006-12-04 19:43:26 stephena Exp $ +// $Id: FrameBufferGP2X.cxx,v 1.5 2006-12-05 03:01:49 stephena Exp $ //============================================================================ #include @@ -116,7 +116,6 @@ void FrameBufferGP2X::drawMediaSource() uInt32 width = mediasrc.width(); uInt32 height = mediasrc.height(); uInt16* buffer = (uInt16*) myScreen->pixels; - uInt16 screenMultiple = 1; // remove this, and everything that refers to it uInt32 bufofsY = 0; uInt32 screenofsY = 0; @@ -280,7 +279,7 @@ void FrameBufferGP2X::drawMediaSource() pos += 2; } bufofsY += width; - screenofsY += myBaseTexture->w; + screenofsY += myPitch; } #endif }