From 6c965b2e6e1cec390054ef4c431f1723f283cb86 Mon Sep 17 00:00:00 2001 From: "SND\\weimingzhi_cp" Date: Mon, 9 Nov 2009 04:28:39 +0000 Subject: git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@36462 e17a0e51-4ae3-4d35-97c3-1a29b211df97 --- plugins/dfxvideo/draw.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins') diff --git a/plugins/dfxvideo/draw.c b/plugins/dfxvideo/draw.c index 4c4a3f4f..d921ac52 100644 --- a/plugins/dfxvideo/draw.c +++ b/plugins/dfxvideo/draw.c @@ -1419,7 +1419,7 @@ void BlitToYUV(unsigned char * surf,int32_t x,int32_t y) { for (column = 0; column < PreviousPSXDisplay.Range.y0 >> 1; column++) { - destpix = (uint32_t *)(surf + (column * lPitch)); + destpix = (uint32_t *)(surf + column * lPitch); for (row = 0; row < dx; row++) { destpix[row] = (4 << 24) | (128 << 16) | (4 << 8) | 128; @@ -1431,7 +1431,7 @@ void BlitToYUV(unsigned char * surf,int32_t x,int32_t y) for (column = 0; column < (PreviousPSXDisplay.Range.y0 + 1) >> 1; column++) { - destpix = (uint32_t *)(surf + dy * lPitch + (column * lPitch)); + destpix = (uint32_t *)(surf + dy * lPitch + column * lPitch); for (row = 0; row < dx; row++) { destpix[row] = (4 << 24) | (128 << 16) | (4 << 8) | 128; -- cgit v1.2.3