From 2a8956ebae5d4ff15b9ff38637db08f2e2657dc7 Mon Sep 17 00:00:00 2001 From: stephena Date: Tue, 5 Dec 2006 03:04:14 +0000 Subject: [PATCH] Oops, another copy/paste typo. git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1180 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba --- stella/src/gp2x/FrameBufferGP2X.cxx | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/stella/src/gp2x/FrameBufferGP2X.cxx b/stella/src/gp2x/FrameBufferGP2X.cxx index afd54b199..689c1b035 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.5 2006-12-05 03:01:49 stephena Exp $ +// $Id: FrameBufferGP2X.cxx,v 1.6 2006-12-05 03:04:14 stephena Exp $ //============================================================================ #include @@ -111,11 +111,11 @@ void FrameBufferGP2X::drawMediaSource() { MediaSource& mediasrc = myOSystem->console().mediaSource(); - uInt8* currentFrame = mediasrc.currentFrameBuffer(); - uInt8* previousFrame = mediasrc.previousFrameBuffer(); - uInt32 width = mediasrc.width(); - uInt32 height = mediasrc.height(); - uInt16* buffer = (uInt16*) myScreen->pixels; + uInt8* currentFrame = mediasrc.currentFrameBuffer(); + uInt8* previousFrame = mediasrc.previousFrameBuffer(); + uInt32 width = mediasrc.width(); + uInt32 height = mediasrc.height(); + uInt16* buffer = (uInt16*) myScreen->pixels; uInt32 bufofsY = 0; uInt32 screenofsY = 0; @@ -123,6 +123,7 @@ void FrameBufferGP2X::drawMediaSource() if(!myUsePhosphor) { #ifdef DIRTY_RECTS + uInt16 screenMultiple = 1; // remove this, and everything that refers to it struct Rectangle { uInt8 color;